#331F25#331F25

#331F25 is a dark, muted pink. Relative luminance 0.018; OKLCH L 26.7% C 0.033 H 0.0°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#331F25
RGBrgb(51, 31, 37)
HSLhsl(342, 24%, 16%)
HSVhsv(342, 39%, 20%)
CMYKcmyk(0%, 39.2%, 27.5%, 80%)
CIE-LABlab(14.50, 10.80, -0.06)
CIE-LCHlch(14.50, 10.80, 359.70°)
OKLaboklab(26.71% 0.0325 0)
OKLCHoklch(26.71% 0.033 0)
XYZxyz(2.1892, 1.8175, 1.9854)
Luminance0.0182 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331F25 #1F332D
analogous
#331F2F #331F25 #33231F
triadic
#331F25 #25331F #1F2533
tetradic
#331F25 #2F331F #1F332D #231F33
square
#331F25 #2F331F #1F332D #231F33
split-complementary
#331F25 #1F3323 #1F2F33
monochromatic
#130C0E #130C0E #331F25 #593641 #7F4D5C

Accessibility & contrast

On white

15.40
#331F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#331F25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331F25
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331F25#FFFFFF#000000##FFFFFF
##331F251.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222325
Deuteranopia (green-blind)
#262625
Tritanopia (blue-blind)
#361E21
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #331f25;
/* rgb */ color: rgb(51, 31, 37);
/* oklch */ color: oklch(26.7% 0.033 0.0);
Tailwind
colors: {
  custom: {
    50: '#6b5a5f',
    500: '#331f25',
    950: '#000000',
  },
}
SCSS
$custom: #331f25;
$custom-light: #6b5a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#331f25",
  "rgb": {
    "r": 51,
    "g": 31,
    "b": 37
  },
  "hsl": {
    "h": 342,
    "s": 24.39,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26709,
    "c": 0.03251,
    "h": 0
  },
  "luminance": 0.01817
}

Semantic roles & 50–950 ramp

primary
#331F25
secondary
#48665D
accent
#C1A667
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060404
muted
#7A7979

Preview Lab

Preview with #331F25

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#331F25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva