#902F7E#902F7E

#902F7E is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.159 H 336.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#902F7E
RGBrgb(144, 47, 126)
HSLhsl(311, 51%, 37%)
HSVhsv(311, 67%, 56%)
CMYKcmyk(0%, 67.4%, 12.5%, 43.5%)
CIE-LABlab(36.87, 49.80, -23.85)
CIE-LCHlch(36.87, 55.21, 334.41°)
OKLaboklab(47.67% 0.1456 -0.0649)
OKLCHoklch(47.67% 0.159 336)
XYZxyz(16.2842, 9.4701, 20.7049)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902F7E #2F9041
analogous
#712F90 #902F7E #902F4E
triadic
#902F7E #7E902F #2F7E90
tetradic
#902F7E #90712F #2F9041 #2F4E90
square
#902F7E #90712F #2F9041 #2F4E90
split-complementary
#902F7E #4E902F #2F9071
monochromatic
#34112D #622056 #902F7E #BE3EA6 #CF6BBC

Accessibility & contrast

On white

7.26
#902F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#902F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902F7E
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902F7E#FFFFFF#000000##FFFFFF
##902F7E1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#505C7C
Tritanopia (blue-blind)
#973552
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902f7e;
/* rgb */ color: rgb(144, 47, 126);
/* oklch */ color: oklch(47.7% 0.159 336.0);
Tailwind
colors: {
  custom: {
    50: '#b36fa3',
    500: '#902f7e',
    950: '#000000',
  },
}
SCSS
$custom: #902f7e;
$custom-light: #b36fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#902f7e",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 311.134,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47671,
    "c": 0.1594,
    "h": 336
  },
  "luminance": 0.09469
}

Semantic roles & 50–950 ramp

primary
#902F7E
secondary
#65B674
accent
#DA684E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #902F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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