#902E79#902E79

#902E79 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.3% C 0.157 H 338.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#902E79
RGBrgb(144, 46, 121)
HSLhsl(314, 52%, 37%)
HSVhsv(314, 68%, 56%)
CMYKcmyk(0%, 68.1%, 16%, 43.5%)
CIE-LABlab(36.49, 49.42, -21.33)
CIE-LCHlch(36.49, 53.83, 336.66°)
OKLaboklab(47.31% 0.1461 -0.0577)
OKLCHoklch(47.31% 0.157 338.4)
XYZxyz(15.9301, 9.2652, 19.0348)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E79 #2E9045
analogous
#762E90 #902E79 #902E48
triadic
#902E79 #79902E #2E7990
tetradic
#902E79 #90762E #2E9045 #2E4890
square
#902E79 #90762E #2E9045 #2E4890
split-complementary
#902E79 #48902E #2E9076
monochromatic
#33102B #621F52 #902E79 #BE3DA0 #CF69B7

Accessibility & contrast

On white

7.36
#902E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#902E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902E79
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E79#FFFFFF#000000##FFFFFF
##902E791.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7B
Deuteranopia (green-blind)
#515B77
Tritanopia (blue-blind)
#98324F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902e79;
/* rgb */ color: rgb(144, 46, 121);
/* oklch */ color: oklch(47.3% 0.157 338.4);
Tailwind
colors: {
  custom: {
    50: '#b46fa0',
    500: '#902e79',
    950: '#000000',
  },
}
SCSS
$custom: #902e79;
$custom-light: #b46fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#902e79",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 314.082,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47314,
    "c": 0.15704,
    "h": 338.4
  },
  "luminance": 0.09264
}

Semantic roles & 50–950 ramp

primary
#902E79
secondary
#64B677
accent
#DB6E4D
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11080E
muted
#807B7E

Preview Lab

Preview with #902E79

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

Preview Lab → · Contrast checker → · Palette generator →

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