#C02F9F#C02F9F

#C02F9F is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.8% C 0.212 H 339.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C02F9F
RGBrgb(192, 47, 159)
HSLhsl(314, 61%, 47%)
HSVhsv(314, 76%, 75%)
CMYKcmyk(0%, 75.5%, 17.2%, 24.7%)
CIE-LABlab(46.64, 66.66, -28.09)
CIE-LCHlch(46.64, 72.34, 337.15°)
OKLaboklab(56.82% 0.1982 -0.0761)
OKLCHoklch(56.82% 0.212 339)
XYZxyz(29.0135, 15.7455, 34.3054)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F9F #2FC050
analogous
#992FC0 #C02F9F #C02F57
triadic
#C02F9F #9FC02F #2F9FC0
tetradic
#C02F9F #C0992F #2FC050 #2F57C0
square
#C02F9F #C0992F #2FC050 #2F57C0
split-complementary
#C02F9F #57C02F #2FC099
monochromatic
#5E174E #8F2376 #C02F9F #D656B9 #E288CD

Accessibility & contrast

On white

5.06
#C02F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C02F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F9F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F9F#FFFFFF#000000##FFFFFF
##C02F9F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3860A2
Deuteranopia (green-blind)
#68779C
Tritanopia (blue-blind)
#CB3664
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02f9f;
/* rgb */ color: rgb(192, 47, 159);
/* oklch */ color: oklch(56.8% 0.212 339.0);
Tailwind
colors: {
  custom: {
    50: '#d777bb',
    500: '#c02f9f',
    950: '#000000',
  },
}
SCSS
$custom: #c02f9f;
$custom-light: #d777bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f9f",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 313.655,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56815,
    "c": 0.21227,
    "h": 339
  },
  "luminance": 0.15743
}

Semantic roles & 50–950 ramp

primary
#C02F9F
secondary
#7FCB91
accent
#E46844
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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