#902271#902271

#902271 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.167 H 341.8°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#902271
RGBrgb(144, 34, 113)
HSLhsl(317, 62%, 35%)
HSVhsv(317, 76%, 56%)
CMYKcmyk(0%, 76.4%, 21.5%, 43.5%)
CIE-LABlab(34.53, 52.72, -19.33)
CIE-LCHlch(34.53, 56.15, 339.86°)
OKLaboklab(45.77% 0.1582 -0.052)
OKLCHoklch(45.77% 0.167 341.8)
XYZxyz(15.0548, 8.2671, 16.4225)
Luminance0.0827 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902271 #229041
analogous
#782290 #902271 #90223A
triadic
#902271 #719022 #227190
tetradic
#902271 #907822 #229041 #223A90
square
#902271 #907822 #229041 #223A90
split-complementary
#902271 #3A9022 #229078
monochromatic
#2D0B23 #5E164A #902271 #C22E98 #D755B2

Accessibility & contrast

On white

7.91
#902271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#902271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902271
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902271#FFFFFF#000000##FFFFFF
##9022711.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#4F586E
Tritanopia (blue-blind)
#992447
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #902271;
/* rgb */ color: rgb(144, 34, 113);
/* oklch */ color: oklch(45.8% 0.167 341.8);
Tailwind
colors: {
  custom: {
    50: '#b4699a',
    500: '#902271',
    950: '#000000',
  },
}
SCSS
$custom: #902271;
$custom-light: #b4699a;
$custom-dark: #000000;
JSON
{
  "hex": "#902271",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 316.909,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45771,
    "c": 0.16655,
    "h": 341.8
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#902271
secondary
#53BB70
accent
#E57143
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902271

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

Preview Lab → · Contrast checker → · Palette generator →

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