#C02F5D#C02F5D

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

Color values

HEX#C02F5D
RGBrgb(192, 47, 93)
HSLhsl(341, 61%, 47%)
HSVhsv(341, 76%, 75%)
CMYKcmyk(0%, 75.5%, 51.6%, 24.7%)
CIE-LABlab(44.28, 59.38, 8.69)
CIE-LCHlch(44.28, 60.02, 8.32°)
OKLaboklab(54.32% 0.1811 0.0225)
OKLCHoklch(54.32% 0.182 7.1)
XYZxyz(24.7327, 14.0332, 11.7601)
Luminance0.1403 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F5D #2FC092
analogous
#C02FA5 #C02F5D #C04A2F
triadic
#C02F5D #5DC02F #2F5DC0
tetradic
#C02F5D #A5C02F #2FC092 #4A2FC0
square
#C02F5D #A5C02F #2FC092 #4A2FC0
split-complementary
#C02F5D #2FC04A #2FA5C0
monochromatic
#5E172D #8F2345 #C02F5D #D6567F #E288A4

Accessibility & contrast

On white

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

On black

3.81
#C02F5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C02F5D#FFFFFF#000000##FFFFFF
##C02F5D1.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54565E
Deuteranopia (green-blind)
#7A7359
Tritanopia (blue-blind)
#D10443
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c02f5d;
/* rgb */ color: rgb(192, 47, 93);
/* oklch */ color: oklch(54.3% 0.182 7.1);
Tailwind
colors: {
  custom: {
    50: '#d9748a',
    500: '#c02f5d',
    950: '#000000',
  },
}
SCSS
$custom: #c02f5d;
$custom-light: #d9748a;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f5d",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 340.966,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54324,
    "c": 0.18246,
    "h": 7.1
  },
  "luminance": 0.1403
}

Semantic roles & 50–950 ramp

primary
#C02F5D
secondary
#7FCBB3
accent
#E4B144
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C02F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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