Skip to content

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.

Seashell#FFF5EE

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

Color codes for Seashell
CSS keywordseashell
HEX#FFF5EE
RGBrgb(255, 245, 238)
HSLhsl(25, 100%, 97%)
HWBhwb(25 93% 0%)
OKLCHoklch(97.6% 0.014 57.6)
CMYK (naive, no ICC profile)cmyk(0%, 4%, 7%, 0%)
Decimal16,774,638
Hue familyWhites 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.

Contrast and accessibility
PairRatioAAAA largeAAAAAA largeAPCA Lc
Black text on seashell19.54:1PassPassPassPass101.1
White text on seashell1.07:1FailFailFailFail0.0
Seashell text on white1.07:1FailFailFailFail0.0
Seashell text on black19.54:1PassPassPassPass−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)

  1. 5%
    #fff6ef
  2. 15%
    #fff7f1
  3. 25%
    #fff8f2
  4. 35%
    #fff9f4
  5. 45%
    #fffaf6
  6. 55%
    #fffbf7
  7. 65%
    #fffcf9
  8. 75%
    #fffdfb
  9. 85%
    #fffefc
  10. 95%
    #fffffe

Shades (mixed with black)

  1. 5%
    #f2e9e2
  2. 15%
    #d9d0ca
  3. 25%
    #bfb8b3
  4. 35%
    #a69f9b
  5. 45%
    #8c8783
  6. 55%
    #736e6b
  7. 65%
    #595653
  8. 75%
    #403d3c
  9. 85%
    #262524
  10. 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.

Color harmonies
HarmonyRotationColor
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

Nearest CSS named colors
ColorHEXΔE OK
oldlace#fdf5e61.1
floralwhite#fffaf01.2
whitesmoke#f5f5f51.5

Nearest Tailwind v4 colors

Nearest Tailwind v4 colors
ColorHEXΔE OK
orange-50#fff7ed0.6
red-50#fef2f21.1
rose-50#fff1f21.3

Code snippets

CSS
.element {
  color: seashell;
  background-color: #fff5ee;
  border-color: rgb(255 245 238);
  outline-color: oklch(97.6% 0.014 57.6);
}
Tailwind CSS
<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 */
SwiftUI
import SwiftUI

extension Color {
  static let seashell = Color(red: 1.000, green: 0.961, blue: 0.933)
}
Jetpack Compose
import androidx.compose.ui.graphics.Color

val Seashell = Color(0xFFFFF5EE)
Flutter
import 'package:flutter/material.dart';

const seashell = Color(0xFFFFF5EE);
Android XML
<!-- 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.