#310220#310220

#310220 is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.1% C 0.084 H 346.7°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#310220
RGBrgb(49, 2, 32)
HSLhsl(322, 92%, 10%)
HSVhsv(322, 96%, 19%)
CMYKcmyk(0%, 95.9%, 34.7%, 80.8%)
CIE-LABlab(7.23, 26.62, -7.23)
CIE-LCHlch(7.23, 27.59, 344.81°)
OKLaboklab(21.13% 0.0816 -0.0193)
OKLCHoklch(21.13% 0.084 346.7)
XYZxyz(1.5491, 0.8009, 1.4392)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310220 #023113
analogous
#2A0231 #310220 #310209
triadic
#310220 #203102 #022031
tetradic
#310220 #312A02 #023113 #020931
square
#310220 #312A02 #023113 #020931
split-complementary
#310220 #093102 #02312A
monochromatic
#1D0113 #1D0113 #310220 #6C0446 #A7076D

Accessibility & contrast

On white

18.10
#310220 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310220
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310220#FFFFFF#000000##FFFFFF
##3102201.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081121
Deuteranopia (green-blind)
#17191F
Tritanopia (blue-blind)
#35010F
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #310220;
/* rgb */ color: rgb(49, 2, 32);
/* oklch */ color: oklch(21.1% 0.084 346.7);
Tailwind
colors: {
  custom: {
    50: '#6c485b',
    500: '#310220',
    950: '#000000',
  },
}
SCSS
$custom: #310220;
$custom-light: #6c485b;
$custom-dark: #000000;
JSON
{
  "hex": "#310220",
  "rgb": {
    "r": 49,
    "g": 2,
    "b": 32
  },
  "hsl": {
    "h": 321.702,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.21125,
    "c": 0.08388,
    "h": 346.7
  },
  "luminance": 0.00801
}

Semantic roles & 50–950 ramp

primary
#310220
secondary
#19753B
accent
#FF7629
background
#F6F4F5
surface
#ECE6E9
border
#C7C2C5
text
#070104
muted
#7A7779

Preview Lab

Preview with #310220

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

Preview Lab → · Contrast checker → · Palette generator →

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