#331129#331129

#331129 is a very dark, moderate pink. Relative luminance 0.013; OKLCH L 24.1% C 0.065 H 340.3°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#331129
RGBrgb(51, 17, 41)
HSLhsl(318, 50%, 13%)
HSVhsv(318, 67%, 20%)
CMYKcmyk(0%, 66.7%, 19.6%, 80%)
CIE-LABlab(11.03, 20.75, -8.18)
CIE-LCHlch(11.03, 22.31, 338.47°)
OKLaboklab(24.15% 0.0614 -0.0219)
OKLCHoklch(24.15% 0.065 340.3)
XYZxyz(1.9660, 1.2650, 2.2380)
Luminance0.0126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#331129 #11331B
analogous
#2C1133 #331129 #331118
triadic
#331129 #293311 #112933
tetradic
#331129 #332C11 #11331B #111833
square
#331129 #332C11 #11331B #111833
split-complementary
#331129 #183311 #11332C
monochromatic
#170812 #170812 #331129 #61204E #8F3073

Accessibility & contrast

On white

16.76
#331129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #331129
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##331129#FFFFFF#000000##FFFFFF
##3311291.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131A2A
Deuteranopia (green-blind)
#1C2028
Tritanopia (blue-blind)
#36121B
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #331129;
/* rgb */ color: rgb(51, 17, 41);
/* oklch */ color: oklch(24.1% 0.065 340.3);
Tailwind
colors: {
  custom: {
    50: '#6c5162',
    500: '#331129',
    950: '#000000',
  },
}
SCSS
$custom: #331129;
$custom-light: #6c5162;
$custom-dark: #000000;
JSON
{
  "hex": "#331129",
  "rgb": {
    "r": 51,
    "g": 17,
    "b": 41
  },
  "hsl": {
    "h": 317.647,
    "s": 50,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24148,
    "c": 0.06518,
    "h": 340.3
  },
  "luminance": 0.01265
}

Semantic roles & 50–950 ramp

primary
#331129
secondary
#346C44
accent
#DA774E
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070205
muted
#7A7879

Preview Lab

Preview with #331129

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

Preview Lab → · Contrast checker → · Palette generator →

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