#310210#310210

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

Color values

HEX#310210
RGBrgb(49, 2, 16)
HSLhsl(342, 92%, 10%)
HSVhsv(342, 96%, 19%)
CMYKcmyk(0%, 95.9%, 67.3%, 80.8%)
CIE-LABlab(6.63, 24.49, 3.44)
CIE-LCHlch(6.63, 24.73, 7.98°)
OKLaboklab(20.42% 0.0757 0.0111)
OKLCHoklch(20.42% 0.077 8.3)
XYZxyz(1.3820, 0.7340, 0.5590)
Luminance0.0073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310210 #023123
analogous
#310227 #310210 #310C02
triadic
#310210 #103102 #021031
tetradic
#310210 #273102 #023123 #0C0231
square
#310210 #273102 #023123 #0C0231
split-complementary
#310210 #02310C #022731
monochromatic
#1D010A #1D010A #310210 #6C0423 #A70736

Accessibility & contrast

On white

18.31
#310210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310210
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310210#FFFFFF#000000##FFFFFF
##3102101.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0E10
Deuteranopia (green-blind)
#1A180F
Tritanopia (blue-blind)
#370007
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #310210;
/* rgb */ color: rgb(49, 2, 16);
/* oklch */ color: oklch(20.4% 0.077 8.3);
Tailwind
colors: {
  custom: {
    50: '#6d474e',
    500: '#310210',
    950: '#000000',
  },
}
SCSS
$custom: #310210;
$custom-light: #6d474e;
$custom-dark: #000000;
JSON
{
  "hex": "#310210",
  "rgb": {
    "r": 49,
    "g": 2,
    "b": 16
  },
  "hsl": {
    "h": 342.128,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.20425,
    "c": 0.07652,
    "h": 8.3
  },
  "luminance": 0.00734
}

Semantic roles & 50–950 ramp

primary
#310210
secondary
#19755A
accent
#FFBF29
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070001
muted
#7A7777

Preview Lab

Preview with #310210

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

Preview Lab → · Contrast checker → · Palette generator →

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