#C02B9B#C02B9B

#C02B9B is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.3% C 0.214 H 340.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#C02B9B
RGBrgb(192, 43, 155)
HSLhsl(315, 63%, 46%)
HSVhsv(315, 78%, 75%)
CMYKcmyk(0%, 77.6%, 19.3%, 24.7%)
CIE-LABlab(46.05, 67.29, -26.62)
CIE-LCHlch(46.05, 72.37, 338.42°)
OKLaboklab(56.33% 0.2012 -0.0719)
OKLCHoklch(56.33% 0.214 340.3)
XYZxyz(28.5194, 15.3037, 32.4559)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B9B #2BC050
analogous
#9A2BC0 #C02B9B #C02B51
triadic
#C02B9B #9BC02B #2B9BC0
tetradic
#C02B9B #C09A2B #2BC050 #2B51C0
square
#C02B9B #C09A2B #2BC050 #2B51C0
split-complementary
#C02B9B #51C02B #2BC09A
monochromatic
#5C154A #8E2073 #C02B9B #D850B6 #E382CB

Accessibility & contrast

On white

5.17
#C02B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#C02B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B9B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B9B#FFFFFF#000000##FFFFFF
##C02B9B1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9E
Deuteranopia (green-blind)
#687598
Tritanopia (blue-blind)
#CC3061
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c02b9b;
/* rgb */ color: rgb(192, 43, 155);
/* oklch */ color: oklch(56.3% 0.214 340.3);
Tailwind
colors: {
  custom: {
    50: '#d775b8',
    500: '#c02b9b',
    950: '#000000',
  },
}
SCSS
$custom: #c02b9b;
$custom-light: #d775b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b9b",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 314.899,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56329,
    "c": 0.21367,
    "h": 340.3
  },
  "luminance": 0.15301
}

Semantic roles & 50–950 ramp

primary
#C02B9B
secondary
#7BCC8F
accent
#E66A41
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C02B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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