#902862#902862

#902862 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.7% C 0.150 H 350.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#902862
RGBrgb(144, 40, 98)
HSLhsl(327, 57%, 36%)
HSVhsv(327, 72%, 56%)
CMYKcmyk(0%, 72.2%, 31.9%, 43.5%)
CIE-LABlab(34.66, 48.59, -9.59)
CIE-LCHlch(34.66, 49.52, 348.83°)
OKLaboklab(45.66% 0.1483 -0.025)
OKLCHoklch(45.66% 0.15 350.4)
XYZxyz(14.4658, 8.3303, 12.3990)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902862 #289056
analogous
#8A2890 #902862 #90282E
triadic
#902862 #629028 #286290
tetradic
#902862 #908A28 #289056 #282E90
square
#902862 #908A28 #289056 #282E90
split-complementary
#902862 #2E9028 #28908A
monochromatic
#300D21 #601B41 #902862 #C03583 #D360A0

Accessibility & contrast

On white

7.88
#902862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902862
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902862#FFFFFF#000000##FFFFFF
##9028621.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384664
Deuteranopia (green-blind)
#565860
Tritanopia (blue-blind)
#9B2241
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #902862;
/* rgb */ color: rgb(144, 40, 98);
/* oklch */ color: oklch(45.7% 0.150 350.4);
Tailwind
colors: {
  custom: {
    50: '#b46b8e',
    500: '#902862',
    950: '#000000',
  },
}
SCSS
$custom: #902862;
$custom-light: #b46b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#902862",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 326.538,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45659,
    "c": 0.15038,
    "h": 350.4
  },
  "luminance": 0.08329
}

Semantic roles & 50–950 ramp

primary
#902862
secondary
#5CB885
accent
#E08B48
background
#FBF6F8
surface
#F6ECF0
border
#D0C7CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #902862

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

Preview Lab → · Contrast checker → · Palette generator →

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