#C02F5A#C02F5A

#C02F5A is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.2% C 0.182 H 8.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#C02F5A
RGBrgb(192, 47, 90)
HSLhsl(342, 61%, 47%)
HSVhsv(342, 76%, 75%)
CMYKcmyk(0%, 75.5%, 53.1%, 24.7%)
CIE-LABlab(44.21, 59.14, 10.45)
CIE-LCHlch(44.21, 60.06, 10.02°)
OKLaboklab(54.25% 0.18 0.0267)
OKLCHoklch(54.25% 0.182 8.4)
XYZxyz(24.6025, 13.9811, 11.0740)
Luminance0.1398 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F5A #2FC095
analogous
#C02FA3 #C02F5A #C04D2F
triadic
#C02F5A #5AC02F #2F5AC0
tetradic
#C02F5A #A3C02F #2FC095 #4D2FC0
square
#C02F5A #A3C02F #2FC095 #4D2FC0
split-complementary
#C02F5A #2FC04D #2FA3C0
monochromatic
#5E172C #8F2343 #C02F5A #D6567C #E288A2

Accessibility & contrast

On white

5.53
#C02F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#C02F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F5A
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F5A#FFFFFF#000000##FFFFFF
##C02F5A1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54565B
Deuteranopia (green-blind)
#7A7356
Tritanopia (blue-blind)
#D20141
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c02f5a;
/* rgb */ color: rgb(192, 47, 90);
/* oklch */ color: oklch(54.2% 0.182 8.4);
Tailwind
colors: {
  custom: {
    50: '#d97488',
    500: '#c02f5a',
    950: '#000000',
  },
}
SCSS
$custom: #c02f5a;
$custom-light: #d97488;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f5a",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 90
  },
  "hsl": {
    "h": 342.207,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54245,
    "c": 0.18192,
    "h": 8.4
  },
  "luminance": 0.13978
}

Semantic roles & 50–950 ramp

primary
#C02F5A
secondary
#7FCBB5
accent
#E4B444
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C02F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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