#310415#310415

#310415 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.9% C 0.074 H 2.7°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#310415
RGBrgb(49, 4, 21)
HSLhsl(337, 85%, 10%)
HSVhsv(337, 92%, 19%)
CMYKcmyk(0%, 91.8%, 57.1%, 80.8%)
CIE-LABlab(7.17, 23.99, 1.12)
CIE-LCHlch(7.17, 24.02, 2.67°)
OKLaboklab(20.92% 0.074 0.0034)
OKLCHoklch(20.92% 0.074 2.7)
XYZxyz(1.4455, 0.7941, 0.7865)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310415 #043120
analogous
#31042B #310415 #310904
triadic
#310415 #153104 #041531
tetradic
#310415 #2B3104 #043120 #090431
square
#310415 #2B3104 #043120 #090431
split-complementary
#310415 #043109 #042B31
monochromatic
#1C020C #1C020C #310415 #6A092D #A20D45

Accessibility & contrast

On white

18.12
#310415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#310415 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310415
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310415#FFFFFF#000000##FFFFFF
##3104151.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1015
Deuteranopia (green-blind)
#1A1914
Tritanopia (blue-blind)
#36000B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310415;
/* rgb */ color: rgb(49, 4, 21);
/* oklch */ color: oklch(20.9% 0.074 2.7);
Tailwind
colors: {
  custom: {
    50: '#6c4852',
    500: '#310415',
    950: '#000000',
  },
}
SCSS
$custom: #310415;
$custom-light: #6c4852;
$custom-dark: #000000;
JSON
{
  "hex": "#310415",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 21
  },
  "hsl": {
    "h": 337.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20919,
    "c": 0.07409,
    "h": 2.7
  },
  "luminance": 0.00794
}

Semantic roles & 50–950 ramp

primary
#310415
secondary
#1D7353
accent
#FBAD2D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310415

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

Preview Lab → · Contrast checker → · Palette generator →

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