#C02F9D#C02F9D

#C02F9D is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.7% C 0.211 H 339.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C02F9D
RGBrgb(192, 47, 157)
HSLhsl(314, 61%, 47%)
HSVhsv(314, 76%, 75%)
CMYKcmyk(0%, 75.5%, 18.2%, 24.7%)
CIE-LABlab(46.55, 66.39, -27.04)
CIE-LCHlch(46.55, 71.69, 337.84°)
OKLaboklab(56.72% 0.1979 -0.0731)
OKLCHoklch(56.72% 0.211 339.7)
XYZxyz(28.8413, 15.6767, 33.3987)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F9D #2FC052
analogous
#9B2FC0 #C02F9D #C02F55
triadic
#C02F9D #9DC02F #2F9DC0
tetradic
#C02F9D #C09B2F #2FC052 #2F55C0
square
#C02F9D #C09B2F #2FC052 #2F55C0
split-complementary
#C02F9D #55C02F #2FC09B
monochromatic
#5E174D #8F2375 #C02F9D #D656B7 #E288CC

Accessibility & contrast

On white

5.08
#C02F9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#C02F9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F9D
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F9D#FFFFFF#000000##FFFFFF
##C02F9D1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3960A0
Deuteranopia (green-blind)
#69769A
Tritanopia (blue-blind)
#CB3463
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02f9d;
/* rgb */ color: rgb(192, 47, 157);
/* oklch */ color: oklch(56.7% 0.211 339.7);
Tailwind
colors: {
  custom: {
    50: '#d777ba',
    500: '#c02f9d',
    950: '#000000',
  },
}
SCSS
$custom: #c02f9d;
$custom-light: #d777ba;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f9d",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 157
  },
  "hsl": {
    "h": 314.483,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56719,
    "c": 0.21098,
    "h": 339.7
  },
  "luminance": 0.15674
}

Semantic roles & 50–950 ramp

primary
#C02F9D
secondary
#7FCB92
accent
#E46B44
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C02F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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