#902478#902478

#902478 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.169 H 338.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#902478
RGBrgb(144, 36, 120)
HSLhsl(313, 60%, 35%)
HSVhsv(313, 75%, 56%)
CMYKcmyk(0%, 75%, 16.7%, 43.5%)
CIE-LABlab(35.10, 53.05, -22.86)
CIE-LCHlch(35.10, 57.76, 336.68°)
OKLaboklab(46.29% 0.1572 -0.062)
OKLCHoklch(46.29% 0.169 338.5)
XYZxyz(15.5230, 8.5486, 18.5982)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902478 #24903C
analogous
#722490 #902478 #902442
triadic
#902478 #789024 #247890
tetradic
#902478 #907224 #24903C #244290
square
#902478 #907224 #24903C #244290
split-complementary
#902478 #429024 #249072
monochromatic
#2E0C26 #5F184F #902478 #C130A1 #D559BA

Accessibility & contrast

On white

7.75
#902478 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#902478 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902478
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902478#FFFFFF#000000##FFFFFF
##9024781.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29487A
Deuteranopia (green-blind)
#4D5975
Tritanopia (blue-blind)
#98294B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902478;
/* rgb */ color: rgb(144, 36, 120);
/* oklch */ color: oklch(46.3% 0.169 338.5);
Tailwind
colors: {
  custom: {
    50: '#b46a9f',
    500: '#902478',
    950: '#000000',
  },
}
SCSS
$custom: #902478;
$custom-light: #b46a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#902478",
  "rgb": {
    "r": 144,
    "g": 36,
    "b": 120
  },
  "hsl": {
    "h": 313.333,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46289,
    "c": 0.16901,
    "h": 338.5
  },
  "luminance": 0.08547
}

Semantic roles & 50–950 ramp

primary
#902478
secondary
#56BA6C
accent
#E36845
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902478

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

Preview Lab → · Contrast checker → · Palette generator →

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