#95227F#95227F

#95227F is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.179 H 337.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#95227F
RGBrgb(149, 34, 127)
HSLhsl(311, 63%, 36%)
HSVhsv(311, 77%, 58%)
CMYKcmyk(0%, 77.2%, 14.8%, 41.6%)
CIE-LABlab(36.11, 55.96, -25.59)
CIE-LCHlch(36.11, 61.54, 335.42°)
OKLaboklab(47.3% 0.165 -0.0696)
OKLCHoklch(47.3% 0.179 337.1)
XYZxyz(16.7975, 9.0675, 20.9401)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95227F #229538
analogous
#712295 #95227F #952245
triadic
#95227F #7F9522 #227F95
tetradic
#95227F #957122 #229538 #224595
square
#95227F #957122 #229538 #224595
split-complementary
#95227F #459522 #229571
monochromatic
#310B2A #631755 #95227F #C72DA9 #D958C0

Accessibility & contrast

On white

7.46
#95227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #95227F
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95227F#FFFFFF#000000##FFFFFF
##95227F1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A81
Deuteranopia (green-blind)
#4E5B7C
Tritanopia (blue-blind)
#9D294E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #95227f;
/* rgb */ color: rgb(149, 34, 127);
/* oklch */ color: oklch(47.3% 0.179 337.1);
Tailwind
colors: {
  custom: {
    50: '#b86aa4',
    500: '#95227f',
    950: '#000000',
  },
}
SCSS
$custom: #95227f;
$custom-light: #b86aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#95227f",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 311.478,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47302,
    "c": 0.17913,
    "h": 337.1
  },
  "luminance": 0.09066
}

Semantic roles & 50–950 ramp

primary
#95227F
secondary
#56BD69
accent
#E66142
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #95227F

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

Preview Lab → · Contrast checker → · Palette generator →

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