#912E7A#912E7A

#912E7A is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.5% C 0.158 H 338.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#912E7A
RGBrgb(145, 46, 122)
HSLhsl(314, 52%, 37%)
HSVhsv(314, 68%, 57%)
CMYKcmyk(0%, 68.3%, 15.9%, 43.1%)
CIE-LABlab(36.71, 49.85, -21.61)
CIE-LCHlch(36.71, 54.33, 336.57°)
OKLaboklab(47.52% 0.1473 -0.0585)
OKLCHoklch(47.52% 0.158 338.4)
XYZxyz(16.1672, 9.3803, 19.3677)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912E7A #2E9145
analogous
#762E91 #912E7A #912E49
triadic
#912E7A #7A912E #2E7A91
tetradic
#912E7A #91762E #2E9145 #2E4991
square
#912E7A #91762E #2E9145 #2E4991
split-complementary
#912E7A #49912E #2E9176
monochromatic
#34112C #631F53 #912E7A #BF3DA1 #D06AB8

Accessibility & contrast

On white

7.30
#912E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#912E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912E7A
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912E7A#FFFFFF#000000##FFFFFF
##912E7A1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7C
Deuteranopia (green-blind)
#515C78
Tritanopia (blue-blind)
#993250
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #912e7a;
/* rgb */ color: rgb(145, 46, 122);
/* oklch */ color: oklch(47.5% 0.158 338.4);
Tailwind
colors: {
  custom: {
    50: '#b46fa0',
    500: '#912e7a',
    950: '#000000',
  },
}
SCSS
$custom: #912e7a;
$custom-light: #b46fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#912e7a",
  "rgb": {
    "r": 145,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 313.939,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4752,
    "c": 0.15847,
    "h": 338.4
  },
  "luminance": 0.09379
}

Semantic roles & 50–950 ramp

primary
#912E7A
secondary
#64B777
accent
#DB6E4D
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #912E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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