#902A4F#902A4F

#902A4F is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.2% C 0.140 H 2.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#902A4F
RGBrgb(144, 42, 79)
HSLhsl(338, 55%, 36%)
HSVhsv(338, 71%, 56%)
CMYKcmyk(0%, 70.8%, 45.1%, 43.5%)
CIE-LABlab(34.30, 45.63, 2.10)
CIE-LCHlch(34.30, 45.68, 2.64°)
OKLaboklab(45.18% 0.1396 0.0059)
OKLCHoklch(45.18% 0.14 2.4)
XYZxyz(13.7419, 8.1515, 8.2454)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A4F #2A906B
analogous
#902A82 #902A4F #90382A
triadic
#902A4F #4F902A #2A4F90
tetradic
#902A4F #82902A #2A906B #382A90
square
#902A4F #82902A #2A906B #382A90
split-complementary
#902A4F #2A9038 #2A8290
monochromatic
#310E1B #611C35 #902A4F #BF3869 #D1638B

Accessibility & contrast

On white

7.98
#902A4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#902A4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A4F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A4F#FFFFFF#000000##FFFFFF
##902A4F1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404450
Deuteranopia (green-blind)
#5B584D
Tritanopia (blue-blind)
#9C1B39
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #902a4f;
/* rgb */ color: rgb(144, 42, 79);
/* oklch */ color: oklch(45.2% 0.140 2.4);
Tailwind
colors: {
  custom: {
    50: '#b56b80',
    500: '#902a4f',
    950: '#000000',
  },
}
SCSS
$custom: #902a4f;
$custom-light: #b56b80;
$custom-dark: #000000;
JSON
{
  "hex": "#902a4f",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 79
  },
  "hsl": {
    "h": 338.235,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45177,
    "c": 0.13977,
    "h": 2.4
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

primary
#902A4F
secondary
#5EB797
accent
#DEA84A
background
#FBF6F7
surface
#F6ECEE
border
#D0C7C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #902A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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