#94227E#94227E

#94227E is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.1% C 0.178 H 337.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#94227E
RGBrgb(148, 34, 126)
HSLhsl(312, 63%, 36%)
HSVhsv(312, 77%, 58%)
CMYKcmyk(0%, 77%, 14.9%, 42%)
CIE-LABlab(35.88, 55.57, -25.34)
CIE-LCHlch(35.88, 61.08, 335.49°)
OKLaboklab(47.09% 0.1639 -0.0689)
OKLCHoklch(47.09% 0.178 337.2)
XYZxyz(16.5510, 8.9479, 20.5901)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94227E #229438
analogous
#712294 #94227E #942245
triadic
#94227E #7E9422 #227E94
tetradic
#94227E #947122 #229438 #224594
square
#94227E #947122 #229438 #224594
split-complementary
#94227E #459422 #229471
monochromatic
#300B29 #621754 #94227E #C62DA8 #D958C0

Accessibility & contrast

On white

7.53
#94227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#94227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #94227E
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94227E#FFFFFF#000000##FFFFFF
##94227E1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264980
Deuteranopia (green-blind)
#4D5B7B
Tritanopia (blue-blind)
#9C294E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #94227e;
/* rgb */ color: rgb(148, 34, 126);
/* oklch */ color: oklch(47.1% 0.178 337.2);
Tailwind
colors: {
  custom: {
    50: '#b76aa3',
    500: '#94227e',
    950: '#000000',
  },
}
SCSS
$custom: #94227e;
$custom-light: #b76aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#94227e",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 311.579,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47087,
    "c": 0.17784,
    "h": 337.2
  },
  "luminance": 0.08946
}

Semantic roles & 50–950 ramp

primary
#94227E
secondary
#55BD69
accent
#E66242
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #94227E

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

Preview Lab → · Contrast checker → · Palette generator →

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