#902278#902278

#902278 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.171 H 338.4°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#902278
RGBrgb(144, 34, 120)
HSLhsl(313, 62%, 35%)
HSVhsv(313, 76%, 56%)
CMYKcmyk(0%, 76.4%, 16.7%, 43.5%)
CIE-LABlab(34.86, 53.72, -23.23)
CIE-LCHlch(34.86, 58.52, 336.61°)
OKLaboklab(46.12% 0.1593 -0.063)
OKLCHoklch(46.12% 0.171 338.4)
XYZxyz(15.4642, 8.4309, 18.5786)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902278 #22903A
analogous
#712290 #902278 #902241
triadic
#902278 #789022 #227890
tetradic
#902278 #907122 #22903A #224190
square
#902278 #907122 #22903A #224190
split-complementary
#902278 #419022 #229071
monochromatic
#2D0B25 #5E164F #902278 #C22EA1 #D755BB

Accessibility & contrast

On white

7.82
#902278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#902278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902278
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902278#FFFFFF#000000##FFFFFF
##9022781.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28477A
Deuteranopia (green-blind)
#4D5875
Tritanopia (blue-blind)
#98274B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #902278;
/* rgb */ color: rgb(144, 34, 120);
/* oklch */ color: oklch(46.1% 0.171 338.4);
Tailwind
colors: {
  custom: {
    50: '#b4699f',
    500: '#902278',
    950: '#000000',
  },
}
SCSS
$custom: #902278;
$custom-light: #b4699f;
$custom-dark: #000000;
JSON
{
  "hex": "#902278",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 313.091,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46119,
    "c": 0.17126,
    "h": 338.4
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

primary
#902278
secondary
#53BB6A
accent
#E56643
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902278

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

Preview Lab → · Contrast checker → · Palette generator →

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