#902174#902174

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

Color values

HEX#902174
RGBrgb(144, 33, 116)
HSLhsl(315, 63%, 35%)
HSVhsv(315, 77%, 56%)
CMYKcmyk(0%, 77.1%, 19.4%, 43.5%)
CIE-LABlab(34.56, 53.46, -21.19)
CIE-LCHlch(34.56, 57.51, 338.38°)
OKLaboklab(45.84% 0.1597 -0.0572)
OKLCHoklch(45.84% 0.17 340.3)
XYZxyz(15.1983, 8.2795, 17.3173)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902174 #21903D
analogous
#752190 #902174 #90213D
triadic
#902174 #749021 #217490
tetradic
#902174 #907521 #21903D #213D90
square
#902174 #907521 #21903D #213D90
split-complementary
#902174 #3D9021 #219075
monochromatic
#2C0A24 #5E164C #902174 #C22C9C #D854B6

Accessibility & contrast

On white

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

On black

2.66
#902174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##902174#FFFFFF#000000##FFFFFF
##9021741.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4676
Deuteranopia (green-blind)
#4E5871
Tritanopia (blue-blind)
#992448
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #902174;
/* rgb */ color: rgb(144, 33, 116);
/* oklch */ color: oklch(45.8% 0.170 340.3);
Tailwind
colors: {
  custom: {
    50: '#b4699c',
    500: '#902174',
    950: '#000000',
  },
}
SCSS
$custom: #902174;
$custom-light: #b4699c;
$custom-dark: #000000;
JSON
{
  "hex": "#902174",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 315.135,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45835,
    "c": 0.16963,
    "h": 340.3
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

primary
#902174
secondary
#51BB6C
accent
#E66B42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902174

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

Preview Lab → · Contrast checker → · Palette generator →

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