#95227E#95227E

#95227E is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.3% C 0.178 H 337.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#95227E
RGBrgb(149, 34, 126)
HSLhsl(312, 63%, 36%)
HSVhsv(312, 77%, 58%)
CMYKcmyk(0%, 77.2%, 15.4%, 41.6%)
CIE-LABlab(36.06, 55.81, -25.05)
CIE-LCHlch(36.06, 61.18, 335.83°)
OKLaboklab(47.25% 0.1649 -0.0681)
OKLCHoklch(47.25% 0.178 337.6)
XYZxyz(16.7327, 9.0416, 20.5986)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95227E #229539
analogous
#722295 #95227E #952244
triadic
#95227E #7E9522 #227E95
tetradic
#95227E #957222 #229539 #224495
square
#95227E #957222 #229539 #224495
split-complementary
#95227E #449522 #229572
monochromatic
#310B2A #631754 #95227E #C72DA8 #D958BF

Accessibility & contrast

On white

7.48
#95227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#95227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95227E
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95227E#FFFFFF#000000##FFFFFF
##95227E1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A80
Deuteranopia (green-blind)
#4E5B7B
Tritanopia (blue-blind)
#9D294E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #95227e;
/* rgb */ color: rgb(149, 34, 126);
/* oklch */ color: oklch(47.3% 0.178 337.6);
Tailwind
colors: {
  custom: {
    50: '#b86aa3',
    500: '#95227e',
    950: '#000000',
  },
}
SCSS
$custom: #95227e;
$custom-light: #b86aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#95227e",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 312,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4725,
    "c": 0.17843,
    "h": 337.6
  },
  "luminance": 0.0904
}

Semantic roles & 50–950 ramp

primary
#95227E
secondary
#56BD6A
accent
#E66342
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #95227E

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

Preview Lab → · Contrast checker → · Palette generator →

#95227E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva