#912852#912852

#912852 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.2% C 0.144 H 0.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#912852
RGBrgb(145, 40, 82)
HSLhsl(336, 57%, 36%)
HSVhsv(336, 72%, 57%)
CMYKcmyk(0%, 72.4%, 43.4%, 43.1%)
CIE-LABlab(34.29, 47.04, 0.17)
CIE-LCHlch(34.29, 47.04, 0.21°)
OKLaboklab(45.24% 0.1442 0.001)
OKLCHoklch(45.24% 0.144 0.4)
XYZxyz(13.9599, 8.1483, 8.8187)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912852 #289167
analogous
#912887 #912852 #913328
triadic
#912852 #529128 #285291
tetradic
#912852 #879128 #289167 #332891
square
#912852 #879128 #289167 #332891
split-complementary
#912852 #289133 #288791
monochromatic
#310E1C #611B37 #912852 #C1356D #D3608E

Accessibility & contrast

On white

7.99
#912852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#912852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912852
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912852#FFFFFF#000000##FFFFFF
##9128521.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#5A5850
Tritanopia (blue-blind)
#9D193A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #912852;
/* rgb */ color: rgb(145, 40, 82);
/* oklch */ color: oklch(45.2% 0.144 0.4);
Tailwind
colors: {
  custom: {
    50: '#b66b82',
    500: '#912852',
    950: '#000000',
  },
}
SCSS
$custom: #912852;
$custom-light: #b66b82;
$custom-dark: #000000;
JSON
{
  "hex": "#912852",
  "rgb": {
    "r": 145,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 336,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45237,
    "c": 0.14418,
    "h": 0.4
  },
  "luminance": 0.08147
}

Semantic roles & 50–950 ramp

primary
#912852
secondary
#5CB994
accent
#E0A348
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #912852

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

Preview Lab → · Contrast checker → · Palette generator →

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