#902074#902074

#902074 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.8% C 0.171 H 340.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#902074
RGBrgb(144, 32, 116)
HSLhsl(315, 64%, 35%)
HSVhsv(315, 78%, 56%)
CMYKcmyk(0%, 77.8%, 19.4%, 43.5%)
CIE-LABlab(34.45, 53.78, -21.36)
CIE-LCHlch(34.45, 57.87, 338.33°)
OKLaboklab(45.76% 0.1607 -0.0577)
OKLCHoklch(45.76% 0.171 340.3)
XYZxyz(15.1709, 8.2248, 17.3082)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902074 #20903C
analogous
#742090 #902074 #90203C
triadic
#902074 #749020 #207490
tetradic
#902074 #907420 #20903C #203C90
square
#902074 #907420 #20903C #203C90
split-complementary
#902074 #3C9020 #209074
monochromatic
#2C0A23 #5E154C #902074 #C22B9C #D952B7

Accessibility & contrast

On white

7.94
#902074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#902074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902074
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902074#FFFFFF#000000##FFFFFF
##9020741.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#4D5771
Tritanopia (blue-blind)
#992448
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #902074;
/* rgb */ color: rgb(144, 32, 116);
/* oklch */ color: oklch(45.8% 0.171 340.3);
Tailwind
colors: {
  custom: {
    50: '#b4689c',
    500: '#902074',
    950: '#000000',
  },
}
SCSS
$custom: #902074;
$custom-light: #b4689c;
$custom-dark: #000000;
JSON
{
  "hex": "#902074",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 315,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45755,
    "c": 0.17071,
    "h": 340.3
  },
  "luminance": 0.08223
}

Semantic roles & 50–950 ramp

primary
#902074
secondary
#50BC6B
accent
#E76B41
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902074

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

Preview Lab → · Contrast checker → · Palette generator →

#902074 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva