#C02F6D#C02F6D

#C02F6D is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.8% C 0.187 H 359.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#C02F6D
RGBrgb(192, 47, 109)
HSLhsl(334, 61%, 47%)
HSVhsv(334, 76%, 75%)
CMYKcmyk(0%, 75.5%, 43.2%, 24.7%)
CIE-LABlab(44.73, 60.80, -0.60)
CIE-LCHlch(44.73, 60.80, 359.44°)
OKLaboklab(54.8% 0.1867 -0.0009)
OKLCHoklch(54.8% 0.187 359.7)
XYZxyz(25.5170, 14.3469, 15.8906)
Luminance0.1434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F6D #2FC082
analogous
#C02FB6 #C02F6D #C03A2F
triadic
#C02F6D #6DC02F #2F6DC0
tetradic
#C02F6D #B6C02F #2FC082 #3A2FC0
square
#C02F6D #B6C02F #2FC082 #3A2FC0
split-complementary
#C02F6D #2FC03A #2FB6C0
monochromatic
#5E1735 #8F2351 #C02F6D #D6568D #E288AE

Accessibility & contrast

On white

5.43
#C02F6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#C02F6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F6D
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F6D#FFFFFF#000000##FFFFFF
##C02F6D1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F586F
Deuteranopia (green-blind)
#77746A
Tritanopia (blue-blind)
#D0154A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02f6d;
/* rgb */ color: rgb(192, 47, 109);
/* oklch */ color: oklch(54.8% 0.187 359.7);
Tailwind
colors: {
  custom: {
    50: '#d97596',
    500: '#c02f6d',
    950: '#000000',
  },
}
SCSS
$custom: #c02f6d;
$custom-light: #d97596;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f6d",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 334.345,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54798,
    "c": 0.1867,
    "h": 359.7
  },
  "luminance": 0.14344
}

Semantic roles & 50–950 ramp

primary
#C02F6D
secondary
#7FCBAB
accent
#E49F44
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C02F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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