#C02B95#C02B95

#C02B95 is a mid, highly saturated pink. Relative luminance 0.151; OKLCH L 56.0% C 0.210 H 342.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#C02B95
RGBrgb(192, 43, 149)
HSLhsl(317, 63%, 46%)
HSVhsv(317, 78%, 75%)
CMYKcmyk(0%, 77.6%, 22.4%, 24.7%)
CIE-LABlab(45.78, 66.51, -23.43)
CIE-LCHlch(45.78, 70.52, 340.59°)
OKLaboklab(56.05% 0.2004 -0.0629)
OKLCHoklch(56.05% 0.21 342.6)
XYZxyz(28.0280, 15.1071, 29.8679)
Luminance0.1510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B95 #2BC056
analogous
#A02BC0 #C02B95 #C02B4B
triadic
#C02B95 #95C02B #2B95C0
tetradic
#C02B95 #C0A02B #2BC056 #2B4BC0
square
#C02B95 #C0A02B #2BC056 #2B4BC0
split-complementary
#C02B95 #4BC02B #2BC0A0
monochromatic
#5C1547 #8E206E #C02B95 #D850B1 #E382C7

Accessibility & contrast

On white

5.22
#C02B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#C02B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B95
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B95#FFFFFF#000000##FFFFFF
##C02B951.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5D98
Deuteranopia (green-blind)
#6B7592
Tritanopia (blue-blind)
#CC2C5D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c02b95;
/* rgb */ color: rgb(192, 43, 149);
/* oklch */ color: oklch(56.0% 0.210 342.6);
Tailwind
colors: {
  custom: {
    50: '#d775b4',
    500: '#c02b95',
    950: '#000000',
  },
}
SCSS
$custom: #c02b95;
$custom-light: #d775b4;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b95",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 317.315,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56049,
    "c": 0.20998,
    "h": 342.6
  },
  "luminance": 0.15104
}

Semantic roles & 50–950 ramp

primary
#C02B95
secondary
#7BCC92
accent
#E67141
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C02B95

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

Preview Lab → · Contrast checker → · Palette generator →

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