#95227B#95227B

#95227B is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.176 H 338.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#95227B
RGBrgb(149, 34, 123)
HSLhsl(314, 63%, 36%)
HSVhsv(314, 77%, 58%)
CMYKcmyk(0%, 77.2%, 17.4%, 41.6%)
CIE-LABlab(35.92, 55.38, -23.40)
CIE-LCHlch(35.92, 60.12, 337.09°)
OKLaboklab(47.1% 0.1646 -0.0634)
OKLCHoklch(47.1% 0.176 338.9)
XYZxyz(16.5420, 8.9653, 19.5943)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95227B #22953C
analogous
#752295 #95227B #952241
triadic
#95227B #7B9522 #227B95
tetradic
#95227B #957522 #22953C #224195
square
#95227B #957522 #22953C #224195
split-complementary
#95227B #419522 #229575
monochromatic
#310B29 #631752 #95227B #C72DA4 #D958BC

Accessibility & contrast

On white

7.52
#95227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#95227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95227B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95227B#FFFFFF#000000##FFFFFF
##95227B1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29497D
Deuteranopia (green-blind)
#4F5B78
Tritanopia (blue-blind)
#9E274C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #95227b;
/* rgb */ color: rgb(149, 34, 123);
/* oklch */ color: oklch(47.1% 0.176 338.9);
Tailwind
colors: {
  custom: {
    50: '#b86aa1',
    500: '#95227b',
    950: '#000000',
  },
}
SCSS
$custom: #95227b;
$custom-light: #b86aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#95227b",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 313.565,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47097,
    "c": 0.17637,
    "h": 338.9
  },
  "luminance": 0.08964
}

Semantic roles & 50–950 ramp

primary
#95227B
secondary
#56BD6D
accent
#E66742
background
#FBF6F9
surface
#F7ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #95227B

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

Preview Lab → · Contrast checker → · Palette generator →

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