#811F40#811F40

#811F40 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.134 H 5.2°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#811F40
RGBrgb(129, 31, 64)
HSLhsl(340, 61%, 31%)
HSVhsv(340, 76%, 51%)
CMYKcmyk(0%, 76%, 50.4%, 49.4%)
CIE-LABlab(29.46, 43.73, 4.63)
CIE-LCHlch(29.46, 43.98, 6.04°)
OKLaboklab(40.93% 0.1337 0.0122)
OKLCHoklch(40.93% 0.134 5.2)
XYZxyz(10.4695, 6.0187, 5.4599)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811F40 #1F8160
analogous
#811F71 #811F40 #812F1F
triadic
#811F40 #40811F #1F4081
tetradic
#811F40 #71811F #1F8160 #2F1F81
square
#811F40 #71811F #1F8160 #2F1F81
split-complementary
#811F40 #1F812F #1F7181
monochromatic
#1E070F #501328 #811F40 #B22B58 #D34776

Accessibility & contrast

On white

9.53
#811F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#811F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811F40
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811F40#FFFFFF#000000##FFFFFF
##811F401.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363941
Deuteranopia (green-blind)
#504C3E
Tritanopia (blue-blind)
#8D0A2D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #811f40;
/* rgb */ color: rgb(129, 31, 64);
/* oklch */ color: oklch(40.9% 0.134 5.2);
Tailwind
colors: {
  custom: {
    50: '#ab6474',
    500: '#811f40',
    950: '#000000',
  },
}
SCSS
$custom: #811f40;
$custom-light: #ab6474;
$custom-dark: #000000;
JSON
{
  "hex": "#811f40",
  "rgb": {
    "r": 129,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 339.796,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40929,
    "c": 0.13421,
    "h": 5.2
  },
  "luminance": 0.06017
}

Semantic roles & 50–950 ramp

primary
#811F40
secondary
#48B490
accent
#E4AE43
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #811F40

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

Preview Lab → · Contrast checker → · Palette generator →

#811F40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva