#9C226F#9C226F

#9C226F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.173 H 347.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9C226F
RGBrgb(156, 34, 111)
HSLhsl(322, 64%, 37%)
HSVhsv(322, 78%, 61%)
CMYKcmyk(0%, 78.2%, 28.8%, 38.8%)
CIE-LABlab(36.67, 55.52, -14.59)
CIE-LCHlch(36.67, 57.41, 345.27°)
OKLaboklab(47.71% 0.1691 -0.0385)
OKLCHoklch(47.71% 0.173 347.2)
XYZxyz(17.1524, 9.3616, 15.9395)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C226F #229C4F
analogous
#8C229C #9C226F #9C2232
triadic
#9C226F #6F9C22 #226F9C
tetradic
#9C226F #9C8C22 #229C4F #22329C
square
#9C226F #9C8C22 #229C4F #22329C
split-complementary
#9C226F #329C22 #229C8C
monochromatic
#380C27 #6A174B #9C226F #CE2D93 #DC5DAD

Accessibility & contrast

On white

7.31
#9C226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9C226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C226F
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C226F#FFFFFF#000000##FFFFFF
##9C226F1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344971
Deuteranopia (green-blind)
#595E6C
Tritanopia (blue-blind)
#A71D46
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9c226f;
/* rgb */ color: rgb(156, 34, 111);
/* oklch */ color: oklch(47.7% 0.173 347.2);
Tailwind
colors: {
  custom: {
    50: '#bd6b98',
    500: '#9c226f',
    950: '#000000',
  },
}
SCSS
$custom: #9c226f;
$custom-light: #bd6b98;
$custom-dark: #000000;
JSON
{
  "hex": "#9c226f",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 322.131,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47707,
    "c": 0.17345,
    "h": 347.2
  },
  "luminance": 0.0936
}

Semantic roles & 50–950 ramp

primary
#9C226F
secondary
#5AC07F
accent
#E77E41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9C226F

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

Preview Lab → · Contrast checker → · Palette generator →

#9C226F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva