#310413#310413

#310413 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 20.8% C 0.073 H 5.6°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#310413
RGBrgb(49, 4, 19)
HSLhsl(340, 85%, 10%)
HSVhsv(340, 92%, 19%)
CMYKcmyk(0%, 91.8%, 61.2%, 80.8%)
CIE-LABlab(7.11, 23.76, 2.35)
CIE-LCHlch(7.11, 23.88, 5.65°)
OKLaboklab(20.85% 0.0731 0.0071)
OKLCHoklch(20.85% 0.073 5.6)
XYZxyz(1.4277, 0.7870, 0.6927)
Luminance0.0079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310413 #043122
analogous
#310429 #310413 #310B04
triadic
#310413 #133104 #041331
tetradic
#310413 #293104 #043122 #0B0431
square
#310413 #293104 #043122 #0B0431
split-complementary
#310413 #04310B #042931
monochromatic
#1C020B #1C020B #310413 #6A0929 #A20D3F

Accessibility & contrast

On white

18.14
#310413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310413
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310413#FFFFFF#000000##FFFFFF
##3104131.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1013
Deuteranopia (green-blind)
#1B1912
Tritanopia (blue-blind)
#36000A
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310413;
/* rgb */ color: rgb(49, 4, 19);
/* oklch */ color: oklch(20.8% 0.073 5.6);
Tailwind
colors: {
  custom: {
    50: '#6c4850',
    500: '#310413',
    950: '#000000',
  },
}
SCSS
$custom: #310413;
$custom-light: #6c4850;
$custom-dark: #000000;
JSON
{
  "hex": "#310413",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 19
  },
  "hsl": {
    "h": 340,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.20846,
    "c": 0.07346,
    "h": 5.6
  },
  "luminance": 0.00787
}

Semantic roles & 50–950 ramp

primary
#310413
secondary
#1D7357
accent
#FBB62D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #310413

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

Preview Lab → · Contrast checker → · Palette generator →

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