#94217E#94217E

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

Color values

HEX#94217E
RGBrgb(148, 33, 126)
HSLhsl(311, 64%, 35%)
HSVhsv(311, 78%, 58%)
CMYKcmyk(0%, 77.7%, 14.9%, 42%)
CIE-LABlab(35.77, 55.89, -25.51)
CIE-LCHlch(35.77, 61.43, 335.46°)
OKLaboklab(47.01% 0.1649 -0.0694)
OKLCHoklch(47.01% 0.179 337.2)
XYZxyz(16.5228, 8.8915, 20.5807)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94217E #219437
analogous
#702194 #94217E #942145
triadic
#94217E #7E9421 #217E94
tetradic
#94217E #947021 #219437 #214594
square
#94217E #947021 #219437 #214594
split-complementary
#94217E #459421 #219470
monochromatic
#300B29 #621653 #94217E #C62CA9 #D956C0

Accessibility & contrast

On white

7.56
#94217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#94217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #94217E
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94217E#FFFFFF#000000##FFFFFF
##94217E1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #94217e;
/* rgb */ color: rgb(148, 33, 126);
/* oklch */ color: oklch(47.0% 0.179 337.2);
Tailwind
colors: {
  custom: {
    50: '#b76aa3',
    500: '#94217e',
    950: '#000000',
  },
}
SCSS
$custom: #94217e;
$custom-light: #b76aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#94217e",
  "rgb": {
    "r": 148,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 311.478,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47008,
    "c": 0.17889,
    "h": 337.2
  },
  "luminance": 0.0889
}

Semantic roles & 50–950 ramp

primary
#94217E
secondary
#54BD68
accent
#E76141
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #94217E

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

Preview Lab → · Contrast checker → · Palette generator →

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