#331125#331125

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

Color values

HEX#331125
RGBrgb(51, 17, 37)
HSLhsl(325, 50%, 13%)
HSVhsv(325, 67%, 20%)
CMYKcmyk(0%, 66.7%, 27.5%, 80%)
CIE-LABlab(10.84, 20.01, -5.50)
CIE-LCHlch(10.84, 20.75, 344.63°)
OKLaboklab(23.95% 0.0601 -0.0145)
OKLCHoklch(23.95% 0.062 346.4)
XYZxyz(1.8997, 1.2384, 1.8889)
Luminance0.0124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331125 #11331F
analogous
#301133 #331125 #331114
triadic
#331125 #253311 #112533
tetradic
#331125 #333011 #11331F #111433
square
#331125 #333011 #11331F #111433
split-complementary
#331125 #143311 #113330
monochromatic
#170811 #170811 #331125 #612046 #8F3068

Accessibility & contrast

On white

16.83
#331125 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331125
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331125#FFFFFF#000000##FFFFFF
##3311251.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141A26
Deuteranopia (green-blind)
#1E1F24
Tritanopia (blue-blind)
#371019
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #331125;
/* rgb */ color: rgb(51, 17, 37);
/* oklch */ color: oklch(23.9% 0.062 346.4);
Tailwind
colors: {
  custom: {
    50: '#6c515f',
    500: '#331125',
    950: '#000000',
  },
}
SCSS
$custom: #331125;
$custom-light: #6c515f;
$custom-dark: #000000;
JSON
{
  "hex": "#331125",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 37
  },
  "hsl": {
    "h": 324.706,
    "s": 50,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23945,
    "c": 0.06184,
    "h": 346.4
  },
  "luminance": 0.01238
}

Semantic roles & 50–950 ramp

primary
#331125
secondary
#346C4B
accent
#DA884E
background
#F6F4F5
surface
#EBE7E9
border
#C6C3C5
text
#070204
muted
#7A7879

Preview Lab

Preview with #331125

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

Preview Lab → · Contrast checker → · Palette generator →

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