#C9229E#C9229E

#C9229E is a mid, highly saturated pink. Relative luminance 0.160; OKLCH L 57.4% C 0.228 H 341.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C9229E
RGBrgb(201, 34, 158)
HSLhsl(315, 71%, 46%)
HSVhsv(315, 83%, 79%)
CMYKcmyk(0%, 83.1%, 21.4%, 21.2%)
CIE-LABlab(47.02, 71.92, -26.78)
CIE-LCHlch(47.02, 76.75, 339.57°)
OKLaboklab(57.37% 0.2164 -0.0722)
OKLCHoklch(57.37% 0.228 341.6)
XYZxyz(30.8321, 16.0335, 33.8122)
Luminance0.1603 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9229E #22C94D
analogous
#A022C9 #C9229E #C9224A
triadic
#C9229E #9EC922 #229EC9
tetradic
#C9229E #C9A022 #22C94D #224AC9
square
#C9229E #C9A022 #22C94D #224AC9
split-complementary
#C9229E #4AC922 #22C9A0
monochromatic
#60104C #951975 #C9229E #E048B9 #E97CCD

Accessibility & contrast

On white

4.99
#C9229E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#C9229E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C9229E
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9229E#FFFFFF#000000##FFFFFF
##C9229E1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA1
Deuteranopia (green-blind)
#6C799A
Tritanopia (blue-blind)
#D62660
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c9229e;
/* rgb */ color: rgb(201, 34, 158);
/* oklch */ color: oklch(57.4% 0.228 341.6);
Tailwind
colors: {
  custom: {
    50: '#de73bb',
    500: '#c9229e',
    950: '#000000',
  },
}
SCSS
$custom: #c9229e;
$custom-light: #de73bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c9229e",
  "rgb": {
    "r": 201,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 315.449,
    "s": 71.064,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57369,
    "c": 0.22808,
    "h": 341.6
  },
  "luminance": 0.1603
}

Semantic roles & 50–950 ramp

primary
#C9229E
secondary
#76D18D
accent
#EE683A
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160912
muted
#847B81

Preview Lab

Preview with #C9229E

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

Preview Lab → · Contrast checker → · Palette generator →

#C9229E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva