#C22F5B#C22F5B

#C22F5B is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.6% C 0.184 H 8.4°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#C22F5B
RGBrgb(194, 47, 91)
HSLhsl(342, 61%, 47%)
HSVhsv(342, 76%, 76%)
CMYKcmyk(0%, 75.8%, 53.1%, 23.9%)
CIE-LABlab(44.61, 59.79, 10.44)
CIE-LCHlch(44.61, 60.70, 9.90°)
OKLaboklab(54.62% 0.182 0.0267)
OKLCHoklch(54.62% 0.184 8.4)
XYZxyz(25.1553, 14.2612, 11.3236)
Luminance0.1426 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22F5B #2FC296
analogous
#C22FA4 #C22F5B #C24D2F
triadic
#C22F5B #5BC22F #2F5BC2
tetradic
#C22F5B #A4C22F #2FC296 #4D2FC2
square
#C22F5B #A4C22F #2FC296 #4D2FC2
split-complementary
#C22F5B #2FC24D #2FA4C2
monochromatic
#5F172D #912344 #C22F5B #D6587E #E289A4

Accessibility & contrast

On white

5.45
#C22F5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#C22F5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22F5B
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22F5B#FFFFFF#000000##FFFFFF
##C22F5B1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55575C
Deuteranopia (green-blind)
#7B7457
Tritanopia (blue-blind)
#D40042
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c22f5b;
/* rgb */ color: rgb(194, 47, 91);
/* oklch */ color: oklch(54.6% 0.184 8.4);
Tailwind
colors: {
  custom: {
    50: '#db7589',
    500: '#c22f5b',
    950: '#000000',
  },
}
SCSS
$custom: #c22f5b;
$custom-light: #db7589;
$custom-dark: #000000;
JSON
{
  "hex": "#c22f5b",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 91
  },
  "hsl": {
    "h": 342.041,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54615,
    "c": 0.1839,
    "h": 8.4
  },
  "luminance": 0.14258
}

Semantic roles & 50–950 ramp

primary
#C22F5B
secondary
#81CCB6
accent
#E4B444
background
#FEF7F8
surface
#FCEEEF
border
#D5C9CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C22F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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