#94227F#94227F

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

Color values

HEX#94227F
RGBrgb(148, 34, 127)
HSLhsl(311, 63%, 36%)
HSVhsv(311, 77%, 58%)
CMYKcmyk(0%, 77%, 14.2%, 42%)
CIE-LABlab(35.93, 55.72, -25.89)
CIE-LCHlch(35.93, 61.44, 335.08°)
OKLaboklab(47.14% 0.164 -0.0705)
OKLCHoklch(47.14% 0.179 336.7)
XYZxyz(16.6158, 8.9738, 20.9316)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94227F #229437
analogous
#702294 #94227F #942246
triadic
#94227F #7F9422 #227F94
tetradic
#94227F #947022 #229437 #224694
square
#94227F #947022 #229437 #224694
split-complementary
#94227F #469422 #229470
monochromatic
#300B2A #621754 #94227F #C62DAA #D958C1

Accessibility & contrast

On white

7.52
#94227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #94227F
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94227F#FFFFFF#000000##FFFFFF
##94227F1.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)
#254981
Deuteranopia (green-blind)
#4D5B7C
Tritanopia (blue-blind)
#9C2A4E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #94227f;
/* rgb */ color: rgb(148, 34, 127);
/* oklch */ color: oklch(47.1% 0.179 336.7);
Tailwind
colors: {
  custom: {
    50: '#b76aa4',
    500: '#94227f',
    950: '#000000',
  },
}
SCSS
$custom: #94227f;
$custom-light: #b76aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#94227f",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 311.053,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47139,
    "c": 0.17854,
    "h": 336.7
  },
  "luminance": 0.08972
}

Semantic roles & 50–950 ramp

primary
#94227F
secondary
#55BD68
accent
#E66042
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #94227F

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

Preview Lab → · Contrast checker → · Palette generator →

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