#902045#902045

#902045 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.9% C 0.149 H 6.4°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#902045
RGBrgb(144, 32, 69)
HSLhsl(340, 64%, 35%)
HSVhsv(340, 78%, 56%)
CMYKcmyk(0%, 77.8%, 52.1%, 43.5%)
CIE-LABlab(32.69, 48.37, 6.32)
CIE-LCHlch(32.69, 48.78, 7.44°)
OKLaboklab(43.9% 0.1477 0.0164)
OKLCHoklch(43.9% 0.149 6.4)
XYZxyz(13.0935, 7.3938, 6.3667)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902045 #20906B
analogous
#90207D #902045 #903320
triadic
#902045 #459020 #204590
tetradic
#902045 #7D9020 #20906B #332090
square
#902045 #7D9020 #20906B #332090
split-complementary
#902045 #209033 #207D90
monochromatic
#2C0A15 #5E152D #902045 #C22B5D #D9527E

Accessibility & contrast

On white

8.47
#902045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#902045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902045
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902045#FFFFFF#000000##FFFFFF
##9020451.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3F46
Deuteranopia (green-blind)
#5A5542
Tritanopia (blue-blind)
#9D0130
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #902045;
/* rgb */ color: rgb(144, 32, 69);
/* oklch */ color: oklch(43.9% 0.149 6.4);
Tailwind
colors: {
  custom: {
    50: '#b66778',
    500: '#902045',
    950: '#000000',
  },
}
SCSS
$custom: #902045;
$custom-light: #b66778;
$custom-dark: #000000;
JSON
{
  "hex": "#902045",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 340.179,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43896,
    "c": 0.14858,
    "h": 6.4
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#902045
secondary
#50BC98
accent
#E7B041
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B

Preview Lab

Preview with #902045

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

Preview Lab → · Contrast checker → · Palette generator →

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