#902E52#902E52

#902E52 is a mid, vivid pink. Relative luminance 0.085; OKLCH L 45.7% C 0.136 H 1.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#902E52
RGBrgb(144, 46, 82)
HSLhsl(338, 52%, 37%)
HSVhsv(338, 68%, 56%)
CMYKcmyk(0%, 68.1%, 43.1%, 43.5%)
CIE-LABlab(34.99, 44.28, 1.17)
CIE-LCHlch(34.99, 44.30, 1.52°)
OKLaboklab(45.72% 0.1355 0.0036)
OKLCHoklch(45.72% 0.136 1.5)
XYZxyz(14.0026, 8.4942, 8.8832)
Luminance0.0849 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E52 #2E906C
analogous
#902E83 #902E52 #903B2E
triadic
#902E52 #52902E #2E5290
tetradic
#902E52 #83902E #2E906C #3B2E90
square
#902E52 #83902E #2E906C #3B2E90
split-complementary
#902E52 #2E903B #2E8390
monochromatic
#33101D #621F38 #902E52 #BE3D6C #CF698F

Accessibility & contrast

On white

7.78
#902E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#902E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902E52
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E52#FFFFFF#000000##FFFFFF
##902E521.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424653
Deuteranopia (green-blind)
#5C5950
Tritanopia (blue-blind)
#9C223C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #902e52;
/* rgb */ color: rgb(144, 46, 82);
/* oklch */ color: oklch(45.7% 0.136 1.5);
Tailwind
colors: {
  custom: {
    50: '#b56d82',
    500: '#902e52',
    950: '#000000',
  },
}
SCSS
$custom: #902e52;
$custom-light: #b56d82;
$custom-dark: #000000;
JSON
{
  "hex": "#902e52",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 337.959,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45722,
    "c": 0.13551,
    "h": 1.5
  },
  "luminance": 0.08492
}

Semantic roles & 50–950 ramp

primary
#902E52
secondary
#64B698
accent
#DBA74D
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #902E52

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

Preview Lab → · Contrast checker → · Palette generator →

#902E52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva