#C9229F#C9229F

#C9229F is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.4% C 0.229 H 341.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C9229F
RGBrgb(201, 34, 159)
HSLhsl(315, 71%, 46%)
HSVhsv(315, 83%, 79%)
CMYKcmyk(0%, 83.1%, 20.9%, 21.2%)
CIE-LABlab(47.06, 72.05, -27.31)
CIE-LCHlch(47.06, 77.05, 339.24°)
OKLaboklab(57.42% 0.2165 -0.0736)
OKLCHoklch(57.42% 0.229 341.2)
XYZxyz(30.9185, 16.0681, 34.2673)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9229F #22C94C
analogous
#9F22C9 #C9229F #C9224B
triadic
#C9229F #9FC922 #229FC9
tetradic
#C9229F #C99F22 #22C94C #224BC9
square
#C9229F #C99F22 #22C94C #224BC9
split-complementary
#C9229F #4BC922 #22C99F
monochromatic
#60104C #951976 #C9229F #E048BA #E97CCE

Accessibility & contrast

On white

4.98
#C9229F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C9229F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9229F#FFFFFF#000000##FFFFFF
##C9229F1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA2
Deuteranopia (green-blind)
#6C799B
Tritanopia (blue-blind)
#D62761
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c9229f;
/* rgb */ color: rgb(201, 34, 159);
/* oklch */ color: oklch(57.4% 0.229 341.2);
Tailwind
colors: {
  custom: {
    50: '#de73bb',
    500: '#c9229f',
    950: '#000000',
  },
}
SCSS
$custom: #c9229f;
$custom-light: #de73bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c9229f",
  "rgb": {
    "r": 201,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 315.09,
    "s": 71.064,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57416,
    "c": 0.22867,
    "h": 341.2
  },
  "luminance": 0.16065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C9229F

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

Preview Lab → · Contrast checker → · Palette generator →

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