#331123#331123

#331123 is a very dark, moderate pink. Relative luminance 0.012; OKLCH L 23.8% C 0.060 H 349.7°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#331123
RGBrgb(51, 17, 35)
HSLhsl(328, 50%, 13%)
HSVhsv(328, 67%, 20%)
CMYKcmyk(0%, 66.7%, 31.4%, 80%)
CIE-LABlab(10.75, 19.66, -4.14)
CIE-LCHlch(10.75, 20.09, 348.11°)
OKLaboklab(23.85% 0.0594 -0.0108)
OKLCHoklch(23.85% 0.06 349.7)
XYZxyz(1.8691, 1.2262, 1.7280)
Luminance0.0123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331123 #113321
analogous
#321133 #331123 #331112
triadic
#331123 #233311 #112333
tetradic
#331123 #333211 #113321 #111233
square
#331123 #333211 #113321 #111233
split-complementary
#331123 #123311 #113332
monochromatic
#170810 #170810 #331123 #612042 #8F3062

Accessibility & contrast

On white

16.86
#331123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331123
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331123#FFFFFF#000000##FFFFFF
##3311231.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #331123;
/* rgb */ color: rgb(51, 17, 35);
/* oklch */ color: oklch(23.8% 0.060 349.7);
Tailwind
colors: {
  custom: {
    50: '#6c515d',
    500: '#331123',
    950: '#000000',
  },
}
SCSS
$custom: #331123;
$custom-light: #6c515d;
$custom-dark: #000000;
JSON
{
  "hex": "#331123",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 35
  },
  "hsl": {
    "h": 328.235,
    "s": 50,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2385,
    "c": 0.06037,
    "h": 349.7
  },
  "luminance": 0.01226
}

Semantic roles & 50–950 ramp

primary
#331123
secondary
#346C4E
accent
#DA904E
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #331123

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

Preview Lab → · Contrast checker → · Palette generator →

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