#912271#912271

#912271 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.167 H 342.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#912271
RGBrgb(145, 34, 113)
HSLhsl(317, 62%, 35%)
HSVhsv(317, 77%, 57%)
CMYKcmyk(0%, 76.6%, 22.1%, 43.1%)
CIE-LABlab(34.72, 52.97, -19.04)
CIE-LCHlch(34.72, 56.29, 340.23°)
OKLaboklab(45.94% 0.1592 -0.0511)
OKLCHoklch(45.94% 0.167 342.2)
XYZxyz(15.2302, 8.3576, 16.4307)
Luminance0.0836 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912271 #229142
analogous
#792291 #912271 #91223A
triadic
#912271 #719122 #227191
tetradic
#912271 #917922 #229142 #223A91
square
#912271 #917922 #229142 #223A91
split-complementary
#912271 #3A9122 #229179
monochromatic
#2E0B24 #5F164A #912271 #C32E98 #D756B2

Accessibility & contrast

On white

7.86
#912271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#912271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912271
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912271#FFFFFF#000000##FFFFFF
##9122711.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#50586E
Tritanopia (blue-blind)
#9A2347
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #912271;
/* rgb */ color: rgb(145, 34, 113);
/* oklch */ color: oklch(45.9% 0.167 342.2);
Tailwind
colors: {
  custom: {
    50: '#b5699a',
    500: '#912271',
    950: '#000000',
  },
}
SCSS
$custom: #912271;
$custom-light: #b5699a;
$custom-dark: #000000;
JSON
{
  "hex": "#912271",
  "rgb": {
    "r": 145,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 317.297,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45939,
    "c": 0.16721,
    "h": 342.2
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

primary
#912271
secondary
#53BB71
accent
#E57243
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #912271

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

Preview Lab → · Contrast checker → · Palette generator →

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