#902F52#902F52

#902F52 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 45.8% C 0.134 H 1.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#902F52
RGBrgb(144, 47, 82)
HSLhsl(338, 51%, 37%)
HSVhsv(338, 67%, 56%)
CMYKcmyk(0%, 67.4%, 43.1%, 43.5%)
CIE-LABlab(35.15, 43.85, 1.40)
CIE-LCHlch(35.15, 43.87, 1.83°)
OKLaboklab(45.84% 0.1341 0.0041)
OKLCHoklch(45.84% 0.134 1.8)
XYZxyz(14.0421, 8.5732, 8.8963)
Luminance0.0857 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902F52 #2F906D
analogous
#902F82 #902F52 #903D2F
triadic
#902F52 #52902F #2F5290
tetradic
#902F52 #82902F #2F906D #3D2F90
square
#902F52 #82902F #2F906D #3D2F90
split-complementary
#902F52 #2F903D #2F8290
monochromatic
#34111D #622038 #902F52 #BE3E6C #CF6B8F

Accessibility & contrast

On white

7.74
#902F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#902F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902F52
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902F52#FFFFFF#000000##FFFFFF
##902F521.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424753
Deuteranopia (green-blind)
#5C5A50
Tritanopia (blue-blind)
#9C233D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902f52;
/* rgb */ color: rgb(144, 47, 82);
/* oklch */ color: oklch(45.8% 0.134 1.8);
Tailwind
colors: {
  custom: {
    50: '#b56e82',
    500: '#902f52',
    950: '#000000',
  },
}
SCSS
$custom: #902f52;
$custom-light: #b56e82;
$custom-dark: #000000;
JSON
{
  "hex": "#902f52",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 82
  },
  "hsl": {
    "h": 338.351,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45839,
    "c": 0.13415,
    "h": 1.8
  },
  "luminance": 0.08572
}

Semantic roles & 50–950 ramp

primary
#902F52
secondary
#65B699
accent
#DAA74E
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12080A
muted
#817B7C

Preview Lab

Preview with #902F52

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

Preview Lab → · Contrast checker → · Palette generator →

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