#310E25#310E25

#310E25 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.1% C 0.066 H 343.2°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#310E25
RGBrgb(49, 14, 37)
HSLhsl(321, 56%, 12%)
HSVhsv(321, 71%, 19%)
CMYKcmyk(0%, 71.4%, 24.5%, 80.8%)
CIE-LABlab(9.80, 20.99, -7.11)
CIE-LCHlch(9.80, 22.16, 341.29°)
OKLaboklab(23.1% 0.0628 -0.019)
OKLCHoklch(23.1% 0.066 343.2)
XYZxyz(1.7576, 1.1008, 1.8698)
Luminance0.0110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310E25 #0E311A
analogous
#2C0E31 #310E25 #310E14
triadic
#310E25 #25310E #0E2531
tetradic
#310E25 #312C0E #0E311A #0E1431
square
#310E25 #312C0E #0E311A #0E1431
split-complementary
#310E25 #14310E #0E312C
monochromatic
#180712 #180712 #310E25 #611C49 #90296D

Accessibility & contrast

On white

17.21
#310E25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#310E25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310E25
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310E25#FFFFFF#000000##FFFFFF
##310E251.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111726
Deuteranopia (green-blind)
#1B1D24
Tritanopia (blue-blind)
#340E17
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #310e25;
/* rgb */ color: rgb(49, 14, 37);
/* oklch */ color: oklch(23.1% 0.066 343.2);
Tailwind
colors: {
  custom: {
    50: '#6b4f5f',
    500: '#310e25',
    950: '#000000',
  },
}
SCSS
$custom: #310e25;
$custom-light: #6b4f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#310e25",
  "rgb": {
    "r": 49,
    "g": 14,
    "b": 37
  },
  "hsl": {
    "h": 320.571,
    "s": 55.556,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23103,
    "c": 0.06556,
    "h": 343.2
  },
  "luminance": 0.01101
}

Semantic roles & 50–950 ramp

primary
#310E25
secondary
#2F6C44
accent
#DF7C49
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #310E25

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

Preview Lab → · Contrast checker → · Palette generator →

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