#310313#310313

#310313 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.7% C 0.075 H 4.8°. Best body text is #FFFFFF at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#310313
RGBrgb(49, 3, 19)
HSLhsl(339, 88%, 10%)
HSVhsv(339, 94%, 19%)
CMYKcmyk(0%, 93.9%, 61.2%, 80.8%)
CIE-LABlab(6.91, 24.29, 2.06)
CIE-LCHlch(6.91, 24.38, 4.85°)
OKLaboklab(20.69% 0.0751 0.0064)
OKLCHoklch(20.69% 0.075 4.8)
XYZxyz(1.4169, 0.7653, 0.6891)
Luminance0.0076 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310313 #033121
analogous
#31032A #310313 #310A03
triadic
#310313 #133103 #031331
tetradic
#310313 #2A3103 #033121 #0A0331
square
#310313 #2A3103 #033121 #0A0331
split-complementary
#310313 #03310A #032A31
monochromatic
#1D020B #1D020B #310313 #6B0729 #A40A40

Accessibility & contrast

On white

18.21
#310313 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310313
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310313#FFFFFF#000000##FFFFFF
##3103131.0018.211.1518.21
#FFFFFF18.211.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E0F13
Deuteranopia (green-blind)
#1A1912
Tritanopia (blue-blind)
#360009
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #310313;
/* rgb */ color: rgb(49, 3, 19);
/* oklch */ color: oklch(20.7% 0.075 4.8);
Tailwind
colors: {
  custom: {
    50: '#6d4850',
    500: '#310313',
    950: '#000000',
  },
}
SCSS
$custom: #310313;
$custom-light: #6d4850;
$custom-dark: #000000;
JSON
{
  "hex": "#310313",
  "rgb": {
    "r": 49,
    "g": 3,
    "b": 19
  },
  "hsl": {
    "h": 339.13,
    "s": 88.462,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20688,
    "c": 0.07535,
    "h": 4.8
  },
  "luminance": 0.00765
}

Semantic roles & 50–950 ramp

primary
#310313
secondary
#1B7455
accent
#FFB429
background
#F6F4F4
surface
#ECE6E7
border
#C7C2C3
text
#070002
muted
#7A7778

Preview Lab

Preview with #310313

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

Preview Lab → · Contrast checker → · Palette generator →

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