#331024#331024

#331024 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.7% C 0.063 H 347.6°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#331024
RGBrgb(51, 16, 36)
HSLhsl(326, 52%, 13%)
HSVhsv(326, 69%, 20%)
CMYKcmyk(0%, 68.6%, 29.4%, 80%)
CIE-LABlab(10.57, 20.42, -5.16)
CIE-LCHlch(10.57, 21.07, 345.83°)
OKLaboklab(23.73% 0.0616 -0.0135)
OKLCHoklch(23.73% 0.063 347.6)
XYZxyz(1.8690, 1.2019, 1.8023)
Luminance0.0120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331024 #10331F
analogous
#301033 #331024 #331012
triadic
#331024 #243310 #102433
tetradic
#331024 #333010 #10331F #101233
square
#331024 #333010 #10331F #101233
split-complementary
#331024 #123310 #103330
monochromatic
#170710 #170710 #331024 #621F45 #902D66

Accessibility & contrast

On white

16.93
#331024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#331024 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #331024
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331024#FFFFFF#000000##FFFFFF
##3310241.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141925
Deuteranopia (green-blind)
#1D1F23
Tritanopia (blue-blind)
#370F18
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #331024;
/* rgb */ color: rgb(51, 16, 36);
/* oklch */ color: oklch(23.7% 0.063 347.6);
Tailwind
colors: {
  custom: {
    50: '#6c505e',
    500: '#331024',
    950: '#000000',
  },
}
SCSS
$custom: #331024;
$custom-light: #6c505e;
$custom-dark: #000000;
JSON
{
  "hex": "#331024",
  "rgb": {
    "r": 51,
    "g": 16,
    "b": 36
  },
  "hsl": {
    "h": 325.714,
    "s": 52.239,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23732,
    "c": 0.06304,
    "h": 347.6
  },
  "luminance": 0.01202
}

Semantic roles & 50–950 ramp

primary
#331024
secondary
#326C4B
accent
#DC8A4C
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #331024

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

Preview Lab → · Contrast checker → · Palette generator →

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