#C02B9F#C02B9F

#C02B9F is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.5% C 0.216 H 338.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#C02B9F
RGBrgb(192, 43, 159)
HSLhsl(313, 63%, 46%)
HSVhsv(313, 78%, 75%)
CMYKcmyk(0%, 77.6%, 17.2%, 24.7%)
CIE-LABlab(46.23, 67.83, -28.73)
CIE-LCHlch(46.23, 73.66, 337.05°)
OKLaboklab(56.52% 0.2017 -0.0779)
OKLCHoklch(56.52% 0.216 338.9)
XYZxyz(28.8609, 15.4403, 34.2545)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B9F #2BC04C
analogous
#962BC0 #C02B9F #C02B54
triadic
#C02B9F #9FC02B #2B9FC0
tetradic
#C02B9F #C0962B #2BC04C #2B54C0
square
#C02B9F #C0962B #2BC04C #2B54C0
split-complementary
#C02B9F #54C02B #2BC096
monochromatic
#5C154C #8E2076 #C02B9F #D850BA #E382CE

Accessibility & contrast

On white

5.14
#C02B9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02B9F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B9F#FFFFFF#000000##FFFFFF
##C02B9F1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345FA2
Deuteranopia (green-blind)
#67769C
Tritanopia (blue-blind)
#CB3263
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c02b9f;
/* rgb */ color: rgb(192, 43, 159);
/* oklch */ color: oklch(56.5% 0.216 338.9);
Tailwind
colors: {
  custom: {
    50: '#d775bb',
    500: '#c02b9f',
    950: '#000000',
  },
}
SCSS
$custom: #c02b9f;
$custom-light: #d775bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b9f",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 313.289,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.21619,
    "h": 338.9
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#C02B9F
secondary
#7BCC8D
accent
#E66641
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C02B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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