#902052#902052

#902052 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.3% C 0.152 H 358.6°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#902052
RGBrgb(144, 32, 82)
HSLhsl(333, 64%, 35%)
HSVhsv(333, 78%, 56%)
CMYKcmyk(0%, 77.8%, 43.1%, 43.5%)
CIE-LABlab(33.08, 49.60, -1.62)
CIE-LCHlch(33.08, 49.63, 358.13°)
OKLaboklab(44.31% 0.1524 -0.0036)
OKLCHoklch(44.31% 0.152 358.6)
XYZxyz(13.5421, 7.5733, 8.7297)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902052 #20905E
analogous
#90208A #902052 #902620
triadic
#902052 #529020 #205290
tetradic
#902052 #8A9020 #20905E #262090
square
#902052 #8A9020 #20905E #262090
split-complementary
#902052 #209026 #208A90
monochromatic
#2C0A19 #5E1535 #902052 #C22B6F #D9528E

Accessibility & contrast

On white

8.35
#902052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#902052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902052
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902052#FFFFFF#000000##FFFFFF
##9020521.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394053
Deuteranopia (green-blind)
#57554F
Tritanopia (blue-blind)
#9C0D36
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #902052;
/* rgb */ color: rgb(144, 32, 82);
/* oklch */ color: oklch(44.3% 0.152 358.6);
Tailwind
colors: {
  custom: {
    50: '#b56782',
    500: '#902052',
    950: '#000000',
  },
}
SCSS
$custom: #902052;
$custom-light: #b56782;
$custom-dark: #000000;
JSON
{
  "hex": "#902052",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 333.214,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44311,
    "c": 0.15245,
    "h": 358.6
  },
  "luminance": 0.07572
}

Semantic roles & 50–950 ramp

primary
#902052
secondary
#50BC8C
accent
#E79D41
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #902052

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

Preview Lab → · Contrast checker → · Palette generator →

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