#C02B9E#C02B9E

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

Color values

HEX#C02B9E
RGBrgb(192, 43, 158)
HSLhsl(314, 63%, 46%)
HSVhsv(314, 78%, 75%)
CMYKcmyk(0%, 77.6%, 17.7%, 24.7%)
CIE-LABlab(46.18, 67.69, -28.20)
CIE-LCHlch(46.18, 73.33, 337.38°)
OKLaboklab(56.47% 0.2016 -0.0764)
OKLCHoklch(56.47% 0.216 339.2)
XYZxyz(28.7744, 15.4057, 33.7993)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B9E #2BC04D
analogous
#972BC0 #C02B9E #C02B54
triadic
#C02B9E #9EC02B #2B9EC0
tetradic
#C02B9E #C0972B #2BC04D #2B54C0
square
#C02B9E #C0972B #2BC04D #2B54C0
split-complementary
#C02B9E #54C02B #2BC097
monochromatic
#5C154C #8E2075 #C02B9E #D850B9 #E382CD

Accessibility & contrast

On white

5.15
#C02B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#C02B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B9E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B9E#FFFFFF#000000##FFFFFF
##C02B9E1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA1
Deuteranopia (green-blind)
#67769B
Tritanopia (blue-blind)
#CB3262
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c02b9e;
/* rgb */ color: rgb(192, 43, 158);
/* oklch */ color: oklch(56.5% 0.216 339.2);
Tailwind
colors: {
  custom: {
    50: '#d775bb',
    500: '#c02b9e',
    950: '#000000',
  },
}
SCSS
$custom: #c02b9e;
$custom-light: #d775bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b9e",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 313.691,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56473,
    "c": 0.21556,
    "h": 339.2
  },
  "luminance": 0.15403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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