#C02F6C#C02F6C

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

Color values

HEX#C02F6C
RGBrgb(192, 47, 108)
HSLhsl(335, 61%, 47%)
HSVhsv(335, 76%, 75%)
CMYKcmyk(0%, 75.5%, 43.7%, 24.7%)
CIE-LABlab(44.70, 60.71, -0.02)
CIE-LCHlch(44.70, 60.71, 359.98°)
OKLaboklab(54.77% 0.1864 0.0006)
OKLCHoklch(54.77% 0.186 0.2)
XYZxyz(25.4635, 14.3255, 15.6087)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F6C #2FC083
analogous
#C02FB4 #C02F6C #C03B2F
triadic
#C02F6C #6CC02F #2F6CC0
tetradic
#C02F6C #B4C02F #2FC083 #3B2FC0
square
#C02F6C #B4C02F #2FC083 #3B2FC0
split-complementary
#C02F6C #2FC03B #2FB4C0
monochromatic
#5E1735 #8F2350 #C02F6C #D6568C #E288AE

Accessibility & contrast

On white

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

On black

3.86
#C02F6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C02F6C#FFFFFF#000000##FFFFFF
##C02F6C1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586D
Deuteranopia (green-blind)
#777469
Tritanopia (blue-blind)
#D0154A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02f6c;
/* rgb */ color: rgb(192, 47, 108);
/* oklch */ color: oklch(54.8% 0.186 0.2);
Tailwind
colors: {
  custom: {
    50: '#d97595',
    500: '#c02f6c',
    950: '#000000',
  },
}
SCSS
$custom: #c02f6c;
$custom-light: #d97595;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f6c",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 108
  },
  "hsl": {
    "h": 334.759,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54766,
    "c": 0.18637,
    "h": 0.2
  },
  "luminance": 0.14322
}

Semantic roles & 50–950 ramp

primary
#C02F6C
secondary
#7FCBAB
accent
#E4A144
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C02F6C

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

Preview Lab → · Contrast checker → · Palette generator →

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