#31242E#31242E

#31242E is a dark, muted pink. Relative luminance 0.021; OKLCH L 28.0% C 0.026 H 334.6°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#31242E
RGBrgb(49, 36, 46)
HSLhsl(314, 15%, 17%)
HSVhsv(314, 27%, 19%)
CMYKcmyk(0%, 26.5%, 6.1%, 80.8%)
CIE-LABlab(16.06, 8.29, -4.21)
CIE-LCHlch(16.06, 9.30, 333.07°)
OKLaboklab(27.96% 0.0236 -0.0112)
OKLCHoklch(27.96% 0.026 334.6)
XYZxyz(2.3906, 2.1120, 2.8660)
Luminance0.0211 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31242E #243127
analogous
#2E2431 #31242E #312428
triadic
#31242E #2E3124 #242E31
tetradic
#31242E #312E24 #243127 #242831
square
#31242E #312E24 #243127 #242831
split-complementary
#31242E #283124 #24312E
monochromatic
#120D11 #120D11 #31242E #543E4F #785870

Accessibility & contrast

On white

14.76
#31242E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#31242E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #31242E
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31242E#FFFFFF#000000##FFFFFF
##31242E1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272E
Deuteranopia (green-blind)
#27292E
Tritanopia (blue-blind)
#322427
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #31242e;
/* rgb */ color: rgb(49, 36, 46);
/* oklch */ color: oklch(28.0% 0.026 334.6);
Tailwind
colors: {
  custom: {
    50: '#695e66',
    500: '#31242e',
    950: '#000000',
  },
}
SCSS
$custom: #31242e;
$custom-light: #695e66;
$custom-dark: #000000;
JSON
{
  "hex": "#31242e",
  "rgb": {
    "r": 49,
    "g": 36,
    "b": 46
  },
  "hsl": {
    "h": 313.846,
    "s": 15.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27963,
    "c": 0.02609,
    "h": 334.6
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#31242E
secondary
#4F6253
accent
#B88070
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #31242E

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

Preview Lab → · Contrast checker → · Palette generator →

#31242E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva