#902274#902274

#902274 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.169 H 340.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#902274
RGBrgb(144, 34, 116)
HSLhsl(315, 62%, 35%)
HSVhsv(315, 76%, 56%)
CMYKcmyk(0%, 76.4%, 19.4%, 43.5%)
CIE-LABlab(34.67, 53.14, -21.01)
CIE-LCHlch(34.67, 57.14, 338.42°)
OKLaboklab(45.92% 0.1587 -0.0567)
OKLCHoklch(45.92% 0.169 340.3)
XYZxyz(15.2265, 8.3358, 17.3267)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902274 #22903E
analogous
#752290 #902274 #90223D
triadic
#902274 #749022 #227490
tetradic
#902274 #907522 #22903E #223D90
square
#902274 #907522 #22903E #223D90
split-complementary
#902274 #3D9022 #229075
monochromatic
#2D0B24 #5E164C #902274 #C22E9C #D755B6

Accessibility & contrast

On white

7.87
#902274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#902274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902274
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902274#FFFFFF#000000##FFFFFF
##9022741.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4676
Deuteranopia (green-blind)
#4E5871
Tritanopia (blue-blind)
#992548
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #902274;
/* rgb */ color: rgb(144, 34, 116);
/* oklch */ color: oklch(45.9% 0.169 340.3);
Tailwind
colors: {
  custom: {
    50: '#b4699c',
    500: '#902274',
    950: '#000000',
  },
}
SCSS
$custom: #902274;
$custom-light: #b4699c;
$custom-dark: #000000;
JSON
{
  "hex": "#902274",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 315.273,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45918,
    "c": 0.16853,
    "h": 340.3
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#902274
secondary
#53BB6D
accent
#E56C43
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #902274

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

Preview Lab → · Contrast checker → · Palette generator →

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