CSS named color
Seashell #FFF5EE
Seashell (CSS keyword seashell) has the hex code #FFF5EE and the RGB value rgb(255, 245, 238): an off-white with a beige tint.
A warm off-white with a faint pink-peach tint (#fff5ee), meant to evoke the inside of a shell. Close to linen and snow.
Color codes for Seashell
| CSS keyword | seashell |
|---|---|
| HEX | #FFF5EE |
| RGB | rgb(255, 245, 238) |
| HSL | hsl(25, 100%, 97%) |
| HWB | hwb(25 93% 0%) |
| OKLCH | oklch(97.6% 0.014 57.6) |
| CMYK (naive, no ICC profile) | cmyk(0%, 4%, 7%, 0%) |
| Decimal | 16,774,638 |
| Hue family | Whites and off-whites |
Contrast and accessibility
On seashell, black text has a contrast ratio of 19.54:1 and passes AAA at any text size; white text reaches 1.07:1.
WCAG 2.2 contrast ratios (success criteria 1.4.3 and 1.4.6: AA needs 4.5:1 for normal text and 3:1 for large text, AAA needs 7:1 and 4.5:1). APCA Lc is the lightness contrast from the APCA-W3 0.0.98G model proposed for WCAG 3; a higher absolute value is more readable, and Lc 75 is its suggested minimum for body text.
| Pair | Ratio | AA | AA large | AAA | AAA large | APCA Lc |
|---|---|---|---|---|---|---|
| Black text on seashell | 19.54:1 | Pass | Pass | Pass | Pass | 101.1 |
| White text on seashell | 1.07:1 | Fail | Fail | Fail | Fail | 0.0 |
| Seashell text on white | 1.07:1 | Fail | Fail | Fail | Fail | 0.0 |
| Seashell text on black | 19.54:1 | Pass | Pass | Pass | Pass | −102.4 |
Tints and shades
Each step mixes seashell with white (tints) or black (shades) in gamma-encoded sRGB, the same result as color-mix(in srgb, seashell, white 25%) in CSS.
Tints (mixed with white)
- 5%
#fff6ef - 15%
#fff7f1 - 25%
#fff8f2 - 35%
#fff9f4 - 45%
#fffaf6 - 55%
#fffbf7 - 65%
#fffcf9 - 75%
#fffdfb - 85%
#fffefc - 95%
#fffffe
Shades (mixed with black)
- 5%
#f2e9e2 - 15%
#d9d0ca - 25%
#bfb8b3 - 35%
#a69f9b - 45%
#8c8783 - 55%
#736e6b - 65%
#595653 - 75%
#403d3c - 85%
#262524 - 95%
#0d0c0c
Color harmonies
Rotating the hue in OKLCH while keeping lightness and chroma, seashell's complementary color is #EFF9FF (close to aliceblue), its analogous colors are #FFF4F2 and #FBF7ED, and its triadic partners are #EEFAF7 and #F8F5FF. For text on top, black gives the higher contrast.
| Harmony | Rotation | Color |
|---|---|---|
| Complementary | +180° | #eff9ff |
| Analogous | −30°, +30° | #fff4f2#fbf7ed |
| Triadic | +120°, +240° | #eefaf7#f8f5ff |
| Split-complementary | +150°, +210° | #edfafc#f3f7ff |
Computed in OKLCH: the hue is rotated by 180° (complementary), ±30° (analogous), ±120° (triadic) and 180° ±30° (split-complementary) while lightness and chroma stay fixed. Results that fall outside sRGB are brought back with the CSS Color 4 gamut mapping algorithm. Because this uses OKLCH, the values differ from tools that rotate hue in HSL, but every color keeps the same perceived lightness.
Warm or cool?
Seashell is close to neutral: its OKLCH chroma is only 0.014, so its temperature comes from context. The faint 25° hue gives it a slightly warm cast.
Nearest named and Tailwind colors
Distance is ΔE OK, the Euclidean distance in OKLab multiplied by 100. Values under about 2 are hard to tell apart side by side.
Nearest CSS named colors
| Color | HEX | ΔE OK |
|---|---|---|
| oldlace | #fdf5e6 | 1.1 |
| floralwhite | #fffaf0 | 1.2 |
| whitesmoke | #f5f5f5 | 1.5 |
Code snippets
.element {
color: seashell;
background-color: #fff5ee;
border-color: rgb(255 245 238);
outline-color: oklch(97.6% 0.014 57.6);
}<div class="bg-[#fff5ee] text-black">...</div>
/* or register it once in your CSS (Tailwind v4) */
@theme {
--color-seashell: #fff5ee;
}
/* then use bg-seashell, text-seashell, border-seashell */import SwiftUI
extension Color {
static let seashell = Color(red: 1.000, green: 0.961, blue: 0.933)
}import androidx.compose.ui.graphics.Color
val Seashell = Color(0xFFFFF5EE)import 'package:flutter/material.dart';
const seashell = Color(0xFFFFF5EE);<!-- res/values/colors.xml -->
<color name="seashell">#FFF5EE</color>Frequently asked questions
- What is the hex code for seashell?
- The hex code for seashell is #FFF5EE. The same color is rgb(255, 245, 238), hsl(25, 100%, 97%) and oklch(97.6% 0.014 57.6), and in CSS you can also write the keyword seashell directly.
- Is seashell a warm or cool color?
- Seashell is close to neutral: its OKLCH chroma is only 0.014, so its temperature comes from context. The faint 25° hue gives it a slightly warm cast.
- What colors go with seashell?
- Rotating the hue in OKLCH while keeping lightness and chroma, seashell's complementary color is #EFF9FF (close to aliceblue), its analogous colors are #FFF4F2 and #FBF7ED, and its triadic partners are #EEFAF7 and #F8F5FF. For text on top, black gives the higher contrast.
- Can you use white text on seashell?
- White text on seashell has a contrast ratio of 1.07:1, which fails AA even for large text under WCAG 2.2. Black text reaches 19.54:1 and passes both AA and AAA. In APCA terms that is Lc 0.0 for white and Lc 101.1 for black.
- What is the RGB value of seashell?
- Seashell is rgb(255, 245, 238): red 255, green 245 and blue 238 on the 0 to 255 scale, or 100.0%, 96.1% and 93.3%. As a decimal integer it is 16774638.
Last reviewed by Arielton Oberek.