#C02B9D#C02B9D

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

Color values

HEX#C02B9D
RGBrgb(192, 43, 157)
HSLhsl(314, 63%, 46%)
HSVhsv(314, 78%, 75%)
CMYKcmyk(0%, 77.6%, 18.2%, 24.7%)
CIE-LABlab(46.14, 67.56, -27.68)
CIE-LCHlch(46.14, 73.01, 337.72°)
OKLaboklab(56.43% 0.2015 -0.0749)
OKLCHoklch(56.43% 0.215 339.6)
XYZxyz(28.6887, 15.3714, 33.3479)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B9D #2BC04E
analogous
#982BC0 #C02B9D #C02B52
triadic
#C02B9D #9DC02B #2B9DC0
tetradic
#C02B9D #C0982B #2BC04E #2B52C0
square
#C02B9D #C0982B #2BC04E #2B52C0
split-complementary
#C02B9D #52C02B #2BC098
monochromatic
#5C154B #8E2074 #C02B9D #D850B8 #E382CC

Accessibility & contrast

On white

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

On black

4.07
#C02B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C02B9D#FFFFFF#000000##FFFFFF
##C02B9D1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365EA0
Deuteranopia (green-blind)
#68769A
Tritanopia (blue-blind)
#CB3162
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c02b9d;
/* rgb */ color: rgb(192, 43, 157);
/* oklch */ color: oklch(56.4% 0.215 339.6);
Tailwind
colors: {
  custom: {
    50: '#d775ba',
    500: '#c02b9d',
    950: '#000000',
  },
}
SCSS
$custom: #c02b9d;
$custom-light: #d775ba;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b9d",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 157
  },
  "hsl": {
    "h": 314.094,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56425,
    "c": 0.21492,
    "h": 339.6
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#C02B9D
secondary
#7BCC8E
accent
#E66841
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C02B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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