#310214#310214

#310214 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.6% C 0.078 H 2.8°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#310214
RGBrgb(49, 2, 20)
HSLhsl(337, 92%, 10%)
HSVhsv(337, 96%, 19%)
CMYKcmyk(0%, 95.9%, 59.2%, 80.8%)
CIE-LABlab(6.75, 24.94, 1.17)
CIE-LCHlch(6.75, 24.97, 2.69°)
OKLaboklab(20.57% 0.0775 0.0037)
OKLCHoklch(20.57% 0.078 2.8)
XYZxyz(1.4147, 0.7471, 0.7314)
Luminance0.0075 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310214 #02311F
analogous
#31022C #310214 #310702
triadic
#310214 #143102 #021431
tetradic
#310214 #2C3102 #02311F #070231
square
#310214 #2C3102 #02311F #070231
split-complementary
#310214 #023107 #022C31
monochromatic
#1D010C #1D010C #310214 #6C042C #A70744

Accessibility & contrast

On white

18.27
#310214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#310214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310214
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310214#FFFFFF#000000##FFFFFF
##3102141.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0F14
Deuteranopia (green-blind)
#1A1813
Tritanopia (blue-blind)
#360009
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #310214;
/* rgb */ color: rgb(49, 2, 20);
/* oklch */ color: oklch(20.6% 0.078 2.8);
Tailwind
colors: {
  custom: {
    50: '#6d4751',
    500: '#310214',
    950: '#000000',
  },
}
SCSS
$custom: #310214;
$custom-light: #6d4751;
$custom-dark: #000000;
JSON
{
  "hex": "#310214",
  "rgb": {
    "r": 49,
    "g": 2,
    "b": 20
  },
  "hsl": {
    "h": 337.021,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.20566,
    "c": 0.07764,
    "h": 2.8
  },
  "luminance": 0.00747
}

Semantic roles & 50–950 ramp

primary
#310214
secondary
#197552
accent
#FFAD29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #310214

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

Preview Lab → · Contrast checker → · Palette generator →

#310214 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva