#C02F9E#C02F9E

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

Color values

HEX#C02F9E
RGBrgb(192, 47, 158)
HSLhsl(314, 61%, 47%)
HSVhsv(314, 76%, 75%)
CMYKcmyk(0%, 75.5%, 17.7%, 24.7%)
CIE-LABlab(46.59, 66.53, -27.57)
CIE-LCHlch(46.59, 72.01, 337.49°)
OKLaboklab(56.77% 0.198 -0.0746)
OKLCHoklch(56.77% 0.212 339.4)
XYZxyz(28.9271, 15.7110, 33.8502)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F9E #2FC051
analogous
#9A2FC0 #C02F9E #C02F56
triadic
#C02F9E #9EC02F #2F9EC0
tetradic
#C02F9E #C09A2F #2FC051 #2F56C0
square
#C02F9E #C09A2F #2FC051 #2F56C0
split-complementary
#C02F9E #56C02F #2FC09A
monochromatic
#5E174D #8F2376 #C02F9E #D656B8 #E288CD

Accessibility & contrast

On white

5.07
#C02F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#C02F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F9E
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F9E#FFFFFF#000000##FFFFFF
##C02F9E1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3860A1
Deuteranopia (green-blind)
#69779B
Tritanopia (blue-blind)
#CB3563
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02f9e;
/* rgb */ color: rgb(192, 47, 158);
/* oklch */ color: oklch(56.8% 0.212 339.4);
Tailwind
colors: {
  custom: {
    50: '#d777bb',
    500: '#c02f9e',
    950: '#000000',
  },
}
SCSS
$custom: #c02f9e;
$custom-light: #d777bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f9e",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 314.069,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56767,
    "c": 0.21162,
    "h": 339.4
  },
  "luminance": 0.15708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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