#C02B5F#C02B5F

#C02B5F is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.1% C 0.187 H 5.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#C02B5F
RGBrgb(192, 43, 95)
HSLhsl(339, 63%, 46%)
HSVhsv(339, 78%, 75%)
CMYKcmyk(0%, 77.6%, 50.5%, 24.7%)
CIE-LABlab(43.89, 60.79, 6.89)
CIE-LCHlch(43.89, 61.18, 6.47°)
OKLaboklab(54.06% 0.1858 0.0181)
OKLCHoklch(54.06% 0.187 5.6)
XYZxyz(24.6699, 13.7639, 12.1819)
Luminance0.1376 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B5F #2BC08C
analogous
#C02BA9 #C02B5F #C0412B
triadic
#C02B5F #5FC02B #2B5FC0
tetradic
#C02B5F #A9C02B #2BC08C #412BC0
square
#C02B5F #A9C02B #2BC08C #412BC0
split-complementary
#C02B5F #2BC041 #2BA9C0
monochromatic
#5C152E #8E2046 #C02B5F #D85080 #E382A4

Accessibility & contrast

On white

5.60
#C02B5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#C02B5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B5F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B5F#FFFFFF#000000##FFFFFF
##C02B5F1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515560
Deuteranopia (green-blind)
#78725B
Tritanopia (blue-blind)
#D10042
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c02b5f;
/* rgb */ color: rgb(192, 43, 95);
/* oklch */ color: oklch(54.1% 0.187 5.6);
Tailwind
colors: {
  custom: {
    50: '#d9738c',
    500: '#c02b5f',
    950: '#000000',
  },
}
SCSS
$custom: #c02b5f;
$custom-light: #d9738c;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b5f",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 339.06,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54055,
    "c": 0.18668,
    "h": 5.6
  },
  "luminance": 0.1376
}

Semantic roles & 50–950 ramp

primary
#C02B5F
secondary
#7BCCB0
accent
#E6AD41
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C02B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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