#310F25#310F25

#310F25 is a very dark, moderate pink. Relative luminance 0.011; OKLCH L 23.3% C 0.064 H 343.5°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#310F25
RGBrgb(49, 15, 37)
HSLhsl(321, 53%, 13%)
HSVhsv(321, 69%, 19%)
CMYKcmyk(0%, 69.4%, 24.5%, 80.8%)
CIE-LABlab(10.02, 20.42, -6.78)
CIE-LCHlch(10.02, 21.52, 341.62°)
OKLaboklab(23.26% 0.061 -0.018)
OKLCHoklch(23.26% 0.064 343.5)
XYZxyz(1.7714, 1.1283, 1.8744)
Luminance0.0113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310F25 #0F311B
analogous
#2C0F31 #310F25 #310F14
triadic
#310F25 #25310F #0F2531
tetradic
#310F25 #312C0F #0F311B #0F1431
square
#310F25 #312C0F #0F311B #0F1431
split-complementary
#310F25 #14310F #0F312C
monochromatic
#170712 #170712 #310F25 #601D48 #8F2C6C

Accessibility & contrast

On white

17.13
#310F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#310F25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310F25
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310F25#FFFFFF#000000##FFFFFF
##310F251.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121826
Deuteranopia (green-blind)
#1B1E24
Tritanopia (blue-blind)
#340F18
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #310f25;
/* rgb */ color: rgb(49, 15, 37);
/* oklch */ color: oklch(23.3% 0.064 343.5);
Tailwind
colors: {
  custom: {
    50: '#6b4f5f',
    500: '#310f25',
    950: '#000000',
  },
}
SCSS
$custom: #310f25;
$custom-light: #6b4f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#310f25",
  "rgb": {
    "r": 49,
    "g": 15,
    "b": 37
  },
  "hsl": {
    "h": 321.176,
    "s": 53.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23261,
    "c": 0.06363,
    "h": 343.5
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#310F25
secondary
#316B45
accent
#DD7F4B
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #310F25

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

Preview Lab → · Contrast checker → · Palette generator →

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