#310A25#310A25

#310A25 is a very dark, moderate pink. Relative luminance 0.010; OKLCH L 22.5% C 0.073 H 342.2°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#310A25
RGBrgb(49, 10, 37)
HSLhsl(318, 66%, 12%)
HSVhsv(318, 80%, 19%)
CMYKcmyk(0%, 79.6%, 24.5%, 80.8%)
CIE-LABlab(9.02, 23.13, -8.31)
CIE-LCHlch(9.02, 24.58, 340.25°)
OKLaboklab(22.53% 0.0692 -0.0222)
OKLCHoklch(22.53% 0.073 342.2)
XYZxyz(1.7091, 1.0038, 1.8536)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A25 #0A3116
analogous
#2A0A31 #310A25 #310A12
triadic
#310A25 #25310A #0A2531
tetradic
#310A25 #312A0A #0A3116 #0A1231
square
#310A25 #312A0A #0A3116 #0A1231
split-complementary
#310A25 #12310A #0A312A
monochromatic
#190513 #190513 #310A25 #64144B #971F72

Accessibility & contrast

On white

17.49
#310A25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#310A25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310A25
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A25#FFFFFF#000000##FFFFFF
##310A251.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1526
Deuteranopia (green-blind)
#191C24
Tritanopia (blue-blind)
#350A16
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310a25;
/* rgb */ color: rgb(49, 10, 37);
/* oklch */ color: oklch(22.5% 0.073 342.2);
Tailwind
colors: {
  custom: {
    50: '#6b4c5f',
    500: '#310a25',
    950: '#000000',
  },
}
SCSS
$custom: #310a25;
$custom-light: #6b4c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#310a25",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 37
  },
  "hsl": {
    "h": 318.462,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22529,
    "c": 0.07273,
    "h": 342.2
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#310A25
secondary
#296E3E
accent
#E9733F
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310A25

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

Preview Lab → · Contrast checker → · Palette generator →

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