#912E52#912E52

#912E52 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.9% C 0.137 H 1.8°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#912E52
RGBrgb(145, 46, 82)
HSLhsl(338, 52%, 37%)
HSVhsv(338, 68%, 57%)
CMYKcmyk(0%, 68.3%, 43.4%, 43.1%)
CIE-LABlab(35.17, 44.60, 1.46)
CIE-LCHlch(35.17, 44.63, 1.87°)
OKLaboklab(45.89% 0.1364 0.0043)
OKLCHoklch(45.89% 0.137 1.8)
XYZxyz(14.1780, 8.5847, 8.8914)
Luminance0.0858 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912E52 #2E916D
analogous
#912E83 #912E52 #913C2E
triadic
#912E52 #52912E #2E5291
tetradic
#912E52 #83912E #2E916D #3C2E91
square
#912E52 #83912E #2E916D #3C2E91
split-complementary
#912E52 #2E913C #2E8391
monochromatic
#34111D #631F38 #912E52 #BF3D6C #D06A8F

Accessibility & contrast

On white

7.73
#912E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#912E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912E52
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912E52#FFFFFF#000000##FFFFFF
##912E521.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424753
Deuteranopia (green-blind)
#5D5A50
Tritanopia (blue-blind)
#9D223C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #912e52;
/* rgb */ color: rgb(145, 46, 82);
/* oklch */ color: oklch(45.9% 0.137 1.8);
Tailwind
colors: {
  custom: {
    50: '#b66e82',
    500: '#912e52',
    950: '#000000',
  },
}
SCSS
$custom: #912e52;
$custom-light: #b66e82;
$custom-dark: #000000;
JSON
{
  "hex": "#912e52",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 338.182,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4589,
    "c": 0.1365,
    "h": 1.8
  },
  "luminance": 0.08583
}

Semantic roles & 50–950 ramp

primary
#912E52
secondary
#64B799
accent
#DBA74D
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #912E52

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

Preview Lab → · Contrast checker → · Palette generator →

#912E52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva