#C22B98#C22B98

#C22B98 is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.5% C 0.213 H 342.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C22B98
RGBrgb(194, 43, 152)
HSLhsl(317, 64%, 46%)
HSVhsv(317, 78%, 76%)
CMYKcmyk(0%, 77.8%, 21.6%, 23.9%)
CIE-LABlab(46.27, 67.36, -24.45)
CIE-LCHlch(46.27, 71.66, 340.05°)
OKLaboklab(56.51% 0.2026 -0.0657)
OKLCHoklch(56.51% 0.213 342)
XYZxyz(28.7805, 15.4671, 31.1694)
Luminance0.1546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22B98 #2BC255
analogous
#A12BC2 #C22B98 #C22B4D
triadic
#C22B98 #98C22B #2B98C2
tetradic
#C22B98 #C2A12B #2BC255 #2B4DC2
square
#C22B98 #C2A12B #2BC255 #2B4DC2
split-complementary
#C22B98 #4DC22B #2BC2A1
monochromatic
#5E1549 #902071 #C22B98 #D952B3 #E484C9

Accessibility & contrast

On white

5.13
#C22B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#C22B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22B98
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22B98#FFFFFF#000000##FFFFFF
##C22B981.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9B
Deuteranopia (green-blind)
#6B7695
Tritanopia (blue-blind)
#CE2D5F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22b98;
/* rgb */ color: rgb(194, 43, 152);
/* oklch */ color: oklch(56.5% 0.213 342.0);
Tailwind
colors: {
  custom: {
    50: '#d975b6',
    500: '#c22b98',
    950: '#000000',
  },
}
SCSS
$custom: #c22b98;
$custom-light: #d975b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c22b98",
  "rgb": {
    "r": 194,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 316.689,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5651,
    "c": 0.21299,
    "h": 342
  },
  "luminance": 0.15464
}

Semantic roles & 50–950 ramp

primary
#C22B98
secondary
#7CCD92
accent
#E76F41
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C22B98

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

Preview Lab → · Contrast checker → · Palette generator →

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