#311129#311129

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

Color values

HEX#311129
RGBrgb(49, 17, 41)
HSLhsl(315, 48%, 13%)
HSVhsv(315, 65%, 19%)
CMYKcmyk(0%, 65.3%, 16.3%, 80.8%)
CIE-LABlab(10.66, 20.00, -8.78)
CIE-LCHlch(10.66, 21.84, 336.29°)
OKLaboklab(23.8% 0.0586 -0.0237)
OKLCHoklch(23.8% 0.063 338)
XYZxyz(1.8673, 1.2141, 2.2334)
Luminance0.0121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311129 #113119
analogous
#291131 #311129 #311119
triadic
#311129 #293111 #112931
tetradic
#311129 #312911 #113119 #111931
square
#311129 #312911 #113119 #111931
split-complementary
#311129 #193111 #113129
monochromatic
#170813 #170813 #311129 #5E214F #8C3175

Accessibility & contrast

On white

16.90
#311129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #311129
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311129#FFFFFF#000000##FFFFFF
##3111291.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121A2A
Deuteranopia (green-blind)
#1B1F28
Tritanopia (blue-blind)
#34121B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #311129;
/* rgb */ color: rgb(49, 17, 41);
/* oklch */ color: oklch(23.8% 0.063 338.0);
Tailwind
colors: {
  custom: {
    50: '#6a5162',
    500: '#311129',
    950: '#000000',
  },
}
SCSS
$custom: #311129;
$custom-light: #6a5162;
$custom-dark: #000000;
JSON
{
  "hex": "#311129",
  "rgb": {
    "r": 49,
    "g": 17,
    "b": 41
  },
  "hsl": {
    "h": 315,
    "s": 48.485,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23802,
    "c": 0.06323,
    "h": 338
  },
  "luminance": 0.01214
}

Semantic roles & 50–950 ramp

primary
#311129
secondary
#346A42
accent
#D87250
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#060205
muted
#7A7879

Preview Lab

Preview with #311129

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

Preview Lab → · Contrast checker → · Palette generator →

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