#94227B#94227B

#94227B is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.176 H 338.6°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#94227B
RGBrgb(148, 34, 123)
HSLhsl(313, 63%, 36%)
HSVhsv(313, 77%, 58%)
CMYKcmyk(0%, 77%, 16.9%, 42%)
CIE-LABlab(35.74, 55.13, -23.70)
CIE-LCHlch(35.74, 60.01, 336.74°)
OKLaboklab(46.93% 0.1636 -0.0643)
OKLCHoklch(46.93% 0.176 338.6)
XYZxyz(16.3603, 8.8716, 19.5858)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94227B #22943B
analogous
#742294 #94227B #942242
triadic
#94227B #7B9422 #227B94
tetradic
#94227B #947422 #22943B #224294
square
#94227B #947422 #22943B #224294
split-complementary
#94227B #429422 #229474
monochromatic
#300B28 #621752 #94227B #C62DA4 #D958BC

Accessibility & contrast

On white

7.57
#94227B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#94227B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #94227B
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94227B#FFFFFF#000000##FFFFFF
##94227B1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28497D
Deuteranopia (green-blind)
#4F5A78
Tritanopia (blue-blind)
#9D284C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #94227b;
/* rgb */ color: rgb(148, 34, 123);
/* oklch */ color: oklch(46.9% 0.176 338.6);
Tailwind
colors: {
  custom: {
    50: '#b76aa1',
    500: '#94227b',
    950: '#000000',
  },
}
SCSS
$custom: #94227b;
$custom-light: #b76aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#94227b",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 123
  },
  "hsl": {
    "h": 313.158,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.46932,
    "c": 0.17577,
    "h": 338.6
  },
  "luminance": 0.0887
}

Semantic roles & 50–950 ramp

primary
#94227B
secondary
#55BD6C
accent
#E66642
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #94227B

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

Preview Lab → · Contrast checker → · Palette generator →

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