#C02B97#C02B97

#C02B97 is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.1% C 0.211 H 341.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C02B97
RGBrgb(192, 43, 151)
HSLhsl(317, 63%, 46%)
HSVhsv(317, 78%, 75%)
CMYKcmyk(0%, 77.6%, 21.4%, 24.7%)
CIE-LABlab(45.87, 66.77, -24.50)
CIE-LCHlch(45.87, 71.12, 339.85°)
OKLaboklab(56.14% 0.2007 -0.0659)
OKLCHoklch(56.14% 0.211 341.8)
XYZxyz(28.1890, 15.1715, 30.7160)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B97 #2BC054
analogous
#9E2BC0 #C02B97 #C02B4C
triadic
#C02B97 #97C02B #2B97C0
tetradic
#C02B97 #C09E2B #2BC054 #2B4CC0
square
#C02B97 #C09E2B #2BC054 #2B4CC0
split-complementary
#C02B97 #4CC02B #2BC09E
monochromatic
#5C1548 #8E2070 #C02B97 #D850B3 #E382C8

Accessibility & contrast

On white

5.21
#C02B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#C02B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B97
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B97#FFFFFF#000000##FFFFFF
##C02B971.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5D9A
Deuteranopia (green-blind)
#6A7594
Tritanopia (blue-blind)
#CC2E5F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c02b97;
/* rgb */ color: rgb(192, 43, 151);
/* oklch */ color: oklch(56.1% 0.211 341.8);
Tailwind
colors: {
  custom: {
    50: '#d775b6',
    500: '#c02b97',
    950: '#000000',
  },
}
SCSS
$custom: #c02b97;
$custom-light: #d775b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b97",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 316.51,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.2112,
    "h": 341.8
  },
  "luminance": 0.15169
}

Semantic roles & 50–950 ramp

primary
#C02B97
secondary
#7BCC91
accent
#E66F41
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C02B97

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

Preview Lab → · Contrast checker → · Palette generator →

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