#902866#902866

#902866 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.8% C 0.153 H 348.2°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#902866
RGBrgb(144, 40, 102)
HSLhsl(324, 57%, 36%)
HSVhsv(324, 72%, 56%)
CMYKcmyk(0%, 72.2%, 29.2%, 43.5%)
CIE-LABlab(34.82, 49.10, -11.91)
CIE-LCHlch(34.82, 50.52, 346.36°)
OKLaboklab(45.83% 0.1494 -0.0313)
OKLCHoklch(45.83% 0.153 348.2)
XYZxyz(14.6594, 8.4078, 13.4187)
Luminance0.0841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902866 #289052
analogous
#862890 #902866 #902832
triadic
#902866 #669028 #286690
tetradic
#902866 #908628 #289052 #283290
square
#902866 #908628 #289052 #283290
split-complementary
#902866 #329028 #289086
monochromatic
#300D22 #601B44 #902866 #C03588 #D360A4

Accessibility & contrast

On white

7.83
#902866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#902866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902866
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902866#FFFFFF#000000##FFFFFF
##9028661.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374668
Deuteranopia (green-blind)
#555864
Tritanopia (blue-blind)
#9A2443
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #902866;
/* rgb */ color: rgb(144, 40, 102);
/* oklch */ color: oklch(45.8% 0.153 348.2);
Tailwind
colors: {
  custom: {
    50: '#b46b91',
    500: '#902866',
    950: '#000000',
  },
}
SCSS
$custom: #902866;
$custom-light: #b46b91;
$custom-dark: #000000;
JSON
{
  "hex": "#902866",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 324.231,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45825,
    "c": 0.1526,
    "h": 348.2
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#902866
secondary
#5CB881
accent
#E08548
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #902866

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

Preview Lab → · Contrast checker → · Palette generator →

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