#331124#331124

#331124 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.9% C 0.061 H 348.0°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#331124
RGBrgb(51, 17, 36)
HSLhsl(326, 50%, 13%)
HSVhsv(326, 67%, 20%)
CMYKcmyk(0%, 66.7%, 29.4%, 80%)
CIE-LABlab(10.79, 19.83, -4.82)
CIE-LCHlch(10.79, 20.41, 346.33°)
OKLaboklab(23.9% 0.0598 -0.0126)
OKLCHoklch(23.9% 0.061 348)
XYZxyz(1.8842, 1.2323, 1.8073)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331124 #113320
analogous
#311133 #331124 #331113
triadic
#331124 #243311 #112433
tetradic
#331124 #333111 #113320 #111333
square
#331124 #333111 #113320 #111333
split-complementary
#331124 #133311 #113331
monochromatic
#170810 #170810 #331124 #612044 #8F3065

Accessibility & contrast

On white

16.85
#331124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#331124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331124
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331124#FFFFFF#000000##FFFFFF
##3311241.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151925
Deuteranopia (green-blind)
#1E1F23
Tritanopia (blue-blind)
#371018
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #331124;
/* rgb */ color: rgb(51, 17, 36);
/* oklch */ color: oklch(23.9% 0.061 348.0);
Tailwind
colors: {
  custom: {
    50: '#6c515e',
    500: '#331124',
    950: '#000000',
  },
}
SCSS
$custom: #331124;
$custom-light: #6c515e;
$custom-dark: #000000;
JSON
{
  "hex": "#331124",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 36
  },
  "hsl": {
    "h": 326.471,
    "s": 50,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23897,
    "c": 0.06108,
    "h": 348
  },
  "luminance": 0.01232
}

Semantic roles & 50–950 ramp

primary
#331124
secondary
#346C4D
accent
#DA8C4E
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #331124

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

Preview Lab → · Contrast checker → · Palette generator →

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