#902851#902851

#902851 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.0% C 0.143 H 0.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#902851
RGBrgb(144, 40, 81)
HSLhsl(336, 57%, 36%)
HSVhsv(336, 72%, 56%)
CMYKcmyk(0%, 72.2%, 43.8%, 43.5%)
CIE-LABlab(34.07, 46.63, 0.48)
CIE-LCHlch(34.07, 46.63, 0.59°)
OKLaboklab(45.03% 0.1429 0.0018)
OKLCHoklch(45.03% 0.143 0.7)
XYZxyz(13.7466, 8.0427, 8.6115)
Luminance0.0804 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902851 #289067
analogous
#902885 #902851 #903328
triadic
#902851 #519028 #285190
tetradic
#902851 #859028 #289067 #332890
square
#902851 #859028 #289067 #332890
split-complementary
#902851 #289033 #288590
monochromatic
#300D1B #601B36 #902851 #C0356C #D3608D

Accessibility & contrast

On white

8.05
#902851 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#902851 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902851
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902851#FFFFFF#000000##FFFFFF
##9028511.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4352
Deuteranopia (green-blind)
#5A574F
Tritanopia (blue-blind)
#9C1A39
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #902851;
/* rgb */ color: rgb(144, 40, 81);
/* oklch */ color: oklch(45.0% 0.143 0.7);
Tailwind
colors: {
  custom: {
    50: '#b56a81',
    500: '#902851',
    950: '#000000',
  },
}
SCSS
$custom: #902851;
$custom-light: #b56a81;
$custom-dark: #000000;
JSON
{
  "hex": "#902851",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 81
  },
  "hsl": {
    "h": 336.346,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45031,
    "c": 0.1429,
    "h": 0.7
  },
  "luminance": 0.08041
}

Semantic roles & 50–950 ramp

primary
#902851
secondary
#5CB894
accent
#E0A448
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #902851

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

Preview Lab → · Contrast checker → · Palette generator →

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