#310C25#310C25

#310C25 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.8% C 0.069 H 342.6°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#310C25
RGBrgb(49, 12, 37)
HSLhsl(319, 61%, 12%)
HSVhsv(319, 76%, 19%)
CMYKcmyk(0%, 75.5%, 24.5%, 80.8%)
CIE-LABlab(9.40, 22.10, -7.73)
CIE-LCHlch(9.40, 23.42, 340.72°)
OKLaboklab(22.8% 0.0661 -0.0207)
OKLCHoklch(22.8% 0.069 342.6)
XYZxyz(1.7321, 1.0496, 1.8613)
Luminance0.0105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310C25 #0C3118
analogous
#2B0C31 #310C25 #310C13
triadic
#310C25 #25310C #0C2531
tetradic
#310C25 #312B0C #0C3118 #0C1331
square
#310C25 #312B0C #0C3118 #0C1331
split-complementary
#310C25 #13310C #0C312B
monochromatic
#190613 #190613 #310C25 #62184A #93246F

Accessibility & contrast

On white

17.36
#310C25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#310C25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310C25
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310C25#FFFFFF#000000##FFFFFF
##310C251.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1626
Deuteranopia (green-blind)
#1A1D24
Tritanopia (blue-blind)
#350C17
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310c25;
/* rgb */ color: rgb(49, 12, 37);
/* oklch */ color: oklch(22.8% 0.069 342.6);
Tailwind
colors: {
  custom: {
    50: '#6b4d5f',
    500: '#310c25',
    950: '#000000',
  },
}
SCSS
$custom: #310c25;
$custom-light: #6b4d5f;
$custom-dark: #000000;
JSON
{
  "hex": "#310c25",
  "rgb": {
    "r": 49,
    "g": 12,
    "b": 37
  },
  "hsl": {
    "h": 319.459,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22804,
    "c": 0.06925,
    "h": 342.6
  },
  "luminance": 0.01049
}

Semantic roles & 50–950 ramp

primary
#310C25
secondary
#2C6D41
accent
#E47844
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310C25

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

Preview Lab → · Contrast checker → · Palette generator →

#310C25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva