#310211#310211

#310211 is a very dark, moderate pink. Relative luminance 0.007; OKLCH L 20.5% C 0.077 H 6.9°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#310211
RGBrgb(49, 2, 17)
HSLhsl(341, 92%, 10%)
HSVhsv(341, 96%, 19%)
CMYKcmyk(0%, 95.9%, 65.3%, 80.8%)
CIE-LABlab(6.66, 24.60, 2.91)
CIE-LCHlch(6.66, 24.77, 6.74°)
OKLaboklab(20.46% 0.0762 0.0093)
OKLCHoklch(20.46% 0.077 6.9)
XYZxyz(1.3896, 0.7371, 0.5993)
Luminance0.0074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310211 #023122
analogous
#310229 #310211 #310A02
triadic
#310211 #113102 #021131
tetradic
#310211 #293102 #023122 #0A0231
square
#310211 #293102 #023122 #0A0231
split-complementary
#310211 #02310A #022931
monochromatic
#1D010A #1D010A #310211 #6C0425 #A7073A

Accessibility & contrast

On white

18.30
#310211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310211
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310211#FFFFFF#000000##FFFFFF
##3102111.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D0E11
Deuteranopia (green-blind)
#1A1810
Tritanopia (blue-blind)
#360007
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #310211;
/* rgb */ color: rgb(49, 2, 17);
/* oklch */ color: oklch(20.5% 0.077 6.9);
Tailwind
colors: {
  custom: {
    50: '#6d474f',
    500: '#310211',
    950: '#000000',
  },
}
SCSS
$custom: #310211;
$custom-light: #6d474f;
$custom-dark: #000000;
JSON
{
  "hex": "#310211",
  "rgb": {
    "r": 49,
    "g": 2,
    "b": 17
  },
  "hsl": {
    "h": 340.851,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.20458,
    "c": 0.07675,
    "h": 6.9
  },
  "luminance": 0.00737
}

Semantic roles & 50–950 ramp

primary
#310211
secondary
#197558
accent
#FFBB29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #310211

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

Preview Lab → · Contrast checker → · Palette generator →

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