#C02F5C#C02F5C

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

Color values

HEX#C02F5C
RGBrgb(192, 47, 92)
HSLhsl(341, 61%, 47%)
HSVhsv(341, 76%, 75%)
CMYKcmyk(0%, 75.5%, 52.1%, 24.7%)
CIE-LABlab(44.26, 59.30, 9.27)
CIE-LCHlch(44.26, 60.02, 8.89°)
OKLaboklab(54.3% 0.1807 0.0239)
OKLCHoklch(54.3% 0.182 7.5)
XYZxyz(24.6887, 14.0156, 11.5284)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F5C #2FC093
analogous
#C02FA5 #C02F5C #C04A2F
triadic
#C02F5C #5CC02F #2F5CC0
tetradic
#C02F5C #A5C02F #2FC093 #4A2FC0
square
#C02F5C #A5C02F #2FC093 #4A2FC0
split-complementary
#C02F5C #2FC04A #2FA5C0
monochromatic
#5E172D #8F2344 #C02F5C #D6567E #E288A4

Accessibility & contrast

On white

5.52
#C02F5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02F5C
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F5C#FFFFFF#000000##FFFFFF
##C02F5C1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54565D
Deuteranopia (green-blind)
#7A7358
Tritanopia (blue-blind)
#D10342
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c02f5c;
/* rgb */ color: rgb(192, 47, 92);
/* oklch */ color: oklch(54.3% 0.182 7.5);
Tailwind
colors: {
  custom: {
    50: '#d97489',
    500: '#c02f5c',
    950: '#000000',
  },
}
SCSS
$custom: #c02f5c;
$custom-light: #d97489;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f5c",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 341.379,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54297,
    "c": 0.18227,
    "h": 7.5
  },
  "luminance": 0.14012
}

Semantic roles & 50–950 ramp

primary
#C02F5C
secondary
#7FCBB4
accent
#E4B244
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C02F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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