#912040#912040

#912040 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.149 H 9.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#912040
RGBrgb(145, 32, 64)
HSLhsl(343, 64%, 35%)
HSVhsv(343, 78%, 57%)
CMYKcmyk(0%, 77.9%, 55.9%, 43.1%)
CIE-LABlab(32.76, 48.26, 9.72)
CIE-LCHlch(32.76, 49.22, 11.39°)
OKLaboklab(43.94% 0.1465 0.0246)
OKLCHoklch(43.94% 0.149 9.5)
XYZxyz(13.1202, 7.4248, 5.5918)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912040 #209171
analogous
#912079 #912040 #913920
triadic
#912040 #409120 #204091
tetradic
#912040 #799120 #209171 #392091
square
#912040 #799120 #209171 #392091
split-complementary
#912040 #209139 #207991
monochromatic
#2D0A14 #5F152A #912040 #C32B56 #D95279

Accessibility & contrast

On white

8.45
#912040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#912040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912040
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912040#FFFFFF#000000##FFFFFF
##9120401.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3E41
Deuteranopia (green-blind)
#5B553D
Tritanopia (blue-blind)
#9F002E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #912040;
/* rgb */ color: rgb(145, 32, 64);
/* oklch */ color: oklch(43.9% 0.149 9.5);
Tailwind
colors: {
  custom: {
    50: '#b76774',
    500: '#912040',
    950: '#000000',
  },
}
SCSS
$custom: #912040;
$custom-light: #b76774;
$custom-dark: #000000;
JSON
{
  "hex": "#912040",
  "rgb": {
    "r": 145,
    "g": 32,
    "b": 64
  },
  "hsl": {
    "h": 343.009,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43939,
    "c": 0.1486,
    "h": 9.5
  },
  "luminance": 0.07423
}

Semantic roles & 50–950 ramp

primary
#912040
secondary
#51BC9E
accent
#E7B841
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #912040

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

Preview Lab → · Contrast checker → · Palette generator →

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