#33031B#33031B

#33031B is a very dark, moderate pink. Relative luminance 0.008; OKLCH L 21.5% C 0.081 H 355.2°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#33031B
RGBrgb(51, 3, 27)
HSLhsl(330, 89%, 11%)
HSVhsv(330, 94%, 20%)
CMYKcmyk(0%, 94.1%, 47.1%, 80%)
CIE-LABlab(7.66, 26.03, -2.65)
CIE-LCHlch(7.66, 26.17, 354.18°)
OKLaboklab(21.46% 0.0803 -0.0067)
OKLCHoklch(21.46% 0.081 355.2)
XYZxyz(1.5957, 0.8483, 1.1164)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#33031B #03331B
analogous
#330333 #33031B #330303
triadic
#33031B #1B3303 #031B33
tetradic
#33031B #333303 #03331B #030333
square
#33031B #333303 #03331B #030333
split-complementary
#33031B #033303 #033333
monochromatic
#1D020F #1D020F #33031B #6D063A #A70A58

Accessibility & contrast

On white

17.95
#33031B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#33031B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #33031B
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##33031B#FFFFFF#000000##FFFFFF
##33031B1.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C111C
Deuteranopia (green-blind)
#1A1A1A
Tritanopia (blue-blind)
#38000D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #33031b;
/* rgb */ color: rgb(51, 3, 27);
/* oklch */ color: oklch(21.5% 0.081 355.2);
Tailwind
colors: {
  custom: {
    50: '#6e4857',
    500: '#33031b',
    950: '#000000',
  },
}
SCSS
$custom: #33031b;
$custom-light: #6e4857;
$custom-dark: #000000;
JSON
{
  "hex": "#33031b",
  "rgb": {
    "r": 51,
    "g": 3,
    "b": 27
  },
  "hsl": {
    "h": 330,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21459,
    "c": 0.08053,
    "h": 355.2
  },
  "luminance": 0.00848
}

Semantic roles & 50–950 ramp

primary
#33031B
secondary
#1C7649
accent
#FF9429
background
#F6F4F5
surface
#ECE7E9
border
#C7C3C5
text
#070103
muted
#7A7778

Preview Lab

Preview with #33031B

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

Preview Lab → · Contrast checker → · Palette generator →

#33031B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva