#C02B98#C02B98

#C02B98 is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.2% C 0.212 H 341.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#C02B98
RGBrgb(192, 43, 152)
HSLhsl(316, 63%, 46%)
HSVhsv(316, 78%, 75%)
CMYKcmyk(0%, 77.6%, 20.8%, 24.7%)
CIE-LABlab(45.91, 66.90, -25.03)
CIE-LCHlch(45.91, 71.43, 339.48°)
OKLaboklab(56.19% 0.2008 -0.0674)
OKLCHoklch(56.19% 0.212 341.5)
XYZxyz(28.2706, 15.2042, 31.1455)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B98 #2BC053
analogous
#9D2BC0 #C02B98 #C02B4E
triadic
#C02B98 #98C02B #2B98C0
tetradic
#C02B98 #C09D2B #2BC053 #2B4EC0
square
#C02B98 #C09D2B #2BC053 #2B4EC0
split-complementary
#C02B98 #4EC02B #2BC09D
monochromatic
#5C1549 #8E2070 #C02B98 #D850B3 #E382C9

Accessibility & contrast

On white

5.20
#C02B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#C02B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B98
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B98#FFFFFF#000000##FFFFFF
##C02B981.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395D9B
Deuteranopia (green-blind)
#6A7595
Tritanopia (blue-blind)
#CC2E5F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c02b98;
/* rgb */ color: rgb(192, 43, 152);
/* oklch */ color: oklch(56.2% 0.212 341.5);
Tailwind
colors: {
  custom: {
    50: '#d775b6',
    500: '#c02b98',
    950: '#000000',
  },
}
SCSS
$custom: #c02b98;
$custom-light: #d775b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b98",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 316.107,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56188,
    "c": 0.2118,
    "h": 341.5
  },
  "luminance": 0.15201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02B98

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

Preview Lab → · Contrast checker → · Palette generator →

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