#902864#902864

#902864 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.7% C 0.151 H 349.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#902864
RGBrgb(144, 40, 100)
HSLhsl(325, 57%, 36%)
HSVhsv(325, 72%, 56%)
CMYKcmyk(0%, 72.2%, 30.6%, 43.5%)
CIE-LABlab(34.74, 48.84, -10.75)
CIE-LCHlch(34.74, 50.01, 347.58°)
OKLaboklab(45.74% 0.1488 -0.0281)
OKLCHoklch(45.74% 0.151 349.3)
XYZxyz(14.5614, 8.3686, 12.9026)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902864 #289054
analogous
#882890 #902864 #902830
triadic
#902864 #649028 #286490
tetradic
#902864 #908828 #289054 #283090
square
#902864 #908828 #289054 #283090
split-complementary
#902864 #309028 #289088
monochromatic
#300D21 #601B43 #902864 #C03585 #D360A2

Accessibility & contrast

On white

7.86
#902864 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#902864 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902864
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902864#FFFFFF#000000##FFFFFF
##9028641.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374666
Deuteranopia (green-blind)
#555862
Tritanopia (blue-blind)
#9B2342
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #902864;
/* rgb */ color: rgb(144, 40, 100);
/* oklch */ color: oklch(45.7% 0.151 349.3);
Tailwind
colors: {
  custom: {
    50: '#b46b90',
    500: '#902864',
    950: '#000000',
  },
}
SCSS
$custom: #902864;
$custom-light: #b46b90;
$custom-dark: #000000;
JSON
{
  "hex": "#902864",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 325.385,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45741,
    "c": 0.15147,
    "h": 349.3
  },
  "luminance": 0.08367
}

Semantic roles & 50–950 ramp

primary
#902864
secondary
#5CB883
accent
#E08848
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #902864

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

Preview Lab → · Contrast checker → · Palette generator →

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