#902A6F#902A6F

#902A6F is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.156 H 343.4°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#902A6F
RGBrgb(144, 42, 111)
HSLhsl(319, 55%, 36%)
HSVhsv(319, 71%, 56%)
CMYKcmyk(0%, 70.8%, 22.9%, 43.5%)
CIE-LABlab(35.47, 49.55, -16.63)
CIE-LCHlch(35.47, 52.26, 341.45°)
OKLaboklab(46.42% 0.149 -0.0444)
OKLCHoklch(46.42% 0.156 343.4)
XYZxyz(15.1993, 8.7344, 15.9213)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A6F #2A904B
analogous
#7E2A90 #902A6F #902A3C
triadic
#902A6F #6F902A #2A6F90
tetradic
#902A6F #907E2A #2A904B #2A3C90
square
#902A6F #907E2A #2A904B #2A3C90
split-complementary
#902A6F #3C902A #2A907E
monochromatic
#310E26 #611C4A #902A6F #BF3894 #D163AE

Accessibility & contrast

On white

7.65
#902A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#902A6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A6F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A6F#FFFFFF#000000##FFFFFF
##902A6F1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344971
Deuteranopia (green-blind)
#535A6D
Tritanopia (blue-blind)
#992A48
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902a6f;
/* rgb */ color: rgb(144, 42, 111);
/* oklch */ color: oklch(46.4% 0.156 343.4);
Tailwind
colors: {
  custom: {
    50: '#b46c98',
    500: '#902a6f',
    950: '#000000',
  },
}
SCSS
$custom: #902a6f;
$custom-light: #b46c98;
$custom-dark: #000000;
JSON
{
  "hex": "#902a6f",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 319.412,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46422,
    "c": 0.15552,
    "h": 343.4
  },
  "luminance": 0.08733
}

Semantic roles & 50–950 ramp

primary
#902A6F
secondary
#5EB77B
accent
#DE7A4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #902A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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