#C02F5B#C02F5B

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

Color values

HEX#C02F5B
RGBrgb(192, 47, 91)
HSLhsl(342, 61%, 47%)
HSVhsv(342, 76%, 75%)
CMYKcmyk(0%, 75.5%, 52.6%, 24.7%)
CIE-LABlab(44.23, 59.22, 9.86)
CIE-LCHlch(44.23, 60.04, 9.45°)
OKLaboklab(54.27% 0.1803 0.0253)
OKLCHoklch(54.27% 0.182 8)
XYZxyz(24.6453, 13.9983, 11.2997)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F5B #2FC094
analogous
#C02FA4 #C02F5B #C04C2F
triadic
#C02F5B #5BC02F #2F5BC0
tetradic
#C02F5B #A4C02F #2FC094 #4C2FC0
square
#C02F5B #A4C02F #2FC094 #4C2FC0
split-complementary
#C02F5B #2FC04C #2FA4C0
monochromatic
#5E172C #8F2344 #C02F5B #D6567D #E288A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02F5B#FFFFFF#000000##FFFFFF
##C02F5B1.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)
#54565C
Deuteranopia (green-blind)
#7A7357
Tritanopia (blue-blind)
#D10242
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c02f5b;
/* rgb */ color: rgb(192, 47, 91);
/* oklch */ color: oklch(54.3% 0.182 8.0);
Tailwind
colors: {
  custom: {
    50: '#d97489',
    500: '#c02f5b',
    950: '#000000',
  },
}
SCSS
$custom: #c02f5b;
$custom-light: #d97489;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f5b",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 91
  },
  "hsl": {
    "h": 341.793,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54271,
    "c": 0.1821,
    "h": 8
  },
  "luminance": 0.13995
}

Semantic roles & 50–950 ramp

primary
#C02F5B
secondary
#7FCBB4
accent
#E4B344
background
#FEF7F8
surface
#FCEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C02F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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