#902277#902277

#902277 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.171 H 338.9°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#902277
RGBrgb(144, 34, 119)
HSLhsl(314, 62%, 35%)
HSVhsv(314, 76%, 56%)
CMYKcmyk(0%, 76.4%, 17.4%, 43.5%)
CIE-LABlab(34.82, 53.57, -22.68)
CIE-LCHlch(34.82, 58.17, 337.05°)
OKLaboklab(46.07% 0.1591 -0.0614)
OKLCHoklch(46.07% 0.171 338.9)
XYZxyz(15.4038, 8.4068, 18.2606)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902277 #22903B
analogous
#722290 #902277 #902240
triadic
#902277 #779022 #227790
tetradic
#902277 #907222 #22903B #224090
square
#902277 #907222 #22903B #224090
split-complementary
#902277 #409022 #229072
monochromatic
#2D0B25 #5E164E #902277 #C22EA0 #D755BA

Accessibility & contrast

On white

7.83
#902277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#902277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902277
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902277#FFFFFF#000000##FFFFFF
##9022771.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284779
Deuteranopia (green-blind)
#4D5874
Tritanopia (blue-blind)
#98274A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #902277;
/* rgb */ color: rgb(144, 34, 119);
/* oklch */ color: oklch(46.1% 0.171 338.9);
Tailwind
colors: {
  custom: {
    50: '#b4699e',
    500: '#902277',
    950: '#000000',
  },
}
SCSS
$custom: #902277;
$custom-light: #b4699e;
$custom-dark: #000000;
JSON
{
  "hex": "#902277",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 313.636,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46068,
    "c": 0.17058,
    "h": 338.9
  },
  "luminance": 0.08405
}

Semantic roles & 50–950 ramp

primary
#902277
secondary
#53BB6B
accent
#E56843
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902277

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

Preview Lab → · Contrast checker → · Palette generator →

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