#310120#310120

#310120 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.0% C 0.086 H 346.4°. Best body text is #FFFFFF at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#310120
RGBrgb(49, 1, 32)
HSLhsl(321, 96%, 10%)
HSVhsv(321, 98%, 19%)
CMYKcmyk(0%, 98%, 34.7%, 80.8%)
CIE-LABlab(7.04, 27.18, -7.53)
CIE-LCHlch(7.04, 28.20, 344.52°)
OKLaboklab(20.97% 0.0836 -0.0202)
OKLCHoklch(20.97% 0.086 346.4)
XYZxyz(1.5383, 0.7791, 1.4356)
Luminance0.0078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310120 #013112
analogous
#2A0131 #310120 #310108
triadic
#310120 #203101 #012031
tetradic
#310120 #312A01 #013112 #010831
square
#310120 #312A01 #013112 #010831
split-complementary
#310120 #083101 #01312A
monochromatic
#1E0114 #1E0114 #310120 #6D0247 #A9036E

Accessibility & contrast

On white

18.17
#310120 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310120
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310120#FFFFFF#000000##FFFFFF
##3101201.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071021
Deuteranopia (green-blind)
#16191F
Tritanopia (blue-blind)
#35000F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310120;
/* rgb */ color: rgb(49, 1, 32);
/* oklch */ color: oklch(21.0% 0.086 346.4);
Tailwind
colors: {
  custom: {
    50: '#6c475b',
    500: '#310120',
    950: '#000000',
  },
}
SCSS
$custom: #310120;
$custom-light: #6c475b;
$custom-dark: #000000;
JSON
{
  "hex": "#310120",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 32
  },
  "hsl": {
    "h": 321.25,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.20973,
    "c": 0.08597,
    "h": 346.4
  },
  "luminance": 0.00779
}

Semantic roles & 50–950 ramp

primary
#310120
secondary
#177739
accent
#FF7529
background
#F6F4F5
surface
#ECE6E9
border
#C7C2C5
text
#070004
muted
#7A7779

Preview Lab

Preview with #310120

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

Preview Lab → · Contrast checker → · Palette generator →

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