#902971#902971

#902971 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.158 H 342.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#902971
RGBrgb(144, 41, 113)
HSLhsl(318, 56%, 36%)
HSVhsv(318, 72%, 56%)
CMYKcmyk(0%, 71.5%, 21.5%, 43.5%)
CIE-LABlab(35.42, 50.22, -17.97)
CIE-LCHlch(35.42, 53.34, 340.31°)
OKLaboklab(46.41% 0.1506 -0.0482)
OKLCHoklch(46.41% 0.158 342.3)
XYZxyz(15.2757, 8.7089, 16.4961)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902971 #299048
analogous
#7C2990 #902971 #90293E
triadic
#902971 #719029 #297190
tetradic
#902971 #907C29 #299048 #293E90
square
#902971 #907C29 #299048 #293E90
split-complementary
#902971 #3E9029 #29907C
monochromatic
#310E26 #601B4C #902971 #C03796 #D261B0

Accessibility & contrast

On white

7.66
#902971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#902971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902971
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902971#FFFFFF#000000##FFFFFF
##9029711.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324973
Deuteranopia (green-blind)
#52596F
Tritanopia (blue-blind)
#992A49
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902971;
/* rgb */ color: rgb(144, 41, 113);
/* oklch */ color: oklch(46.4% 0.158 342.3);
Tailwind
colors: {
  custom: {
    50: '#b46c9a',
    500: '#902971',
    950: '#000000',
  },
}
SCSS
$custom: #902971;
$custom-light: #b46c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#902971",
  "rgb": {
    "r": 144,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 318.058,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46414,
    "c": 0.15814,
    "h": 342.3
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

primary
#902971
secondary
#5DB878
accent
#DF7649
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #902971

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

Preview Lab → · Contrast checker → · Palette generator →

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