#C02F5E#C02F5E

#C02F5E is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.4% C 0.183 H 6.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#C02F5E
RGBrgb(192, 47, 94)
HSLhsl(341, 61%, 47%)
HSVhsv(341, 76%, 75%)
CMYKcmyk(0%, 75.5%, 51%, 24.7%)
CIE-LABlab(44.31, 59.46, 8.10)
CIE-LCHlch(44.31, 60.01, 7.76°)
OKLaboklab(54.35% 0.1815 0.0211)
OKLCHoklch(54.35% 0.183 6.6)
XYZxyz(24.7773, 14.0511, 11.9949)
Luminance0.1405 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F5E #2FC091
analogous
#C02FA6 #C02F5E #C0492F
triadic
#C02F5E #5EC02F #2F5EC0
tetradic
#C02F5E #A6C02F #2FC091 #492FC0
square
#C02F5E #A6C02F #2FC091 #492FC0
split-complementary
#C02F5E #2FC049 #2FA6C0
monochromatic
#5E172E #8F2346 #C02F5E #D65680 #E288A5

Accessibility & contrast

On white

5.51
#C02F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02F5E
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F5E#FFFFFF#000000##FFFFFF
##C02F5E1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53565F
Deuteranopia (green-blind)
#79735B
Tritanopia (blue-blind)
#D10543
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c02f5e;
/* rgb */ color: rgb(192, 47, 94);
/* oklch */ color: oklch(54.4% 0.183 6.6);
Tailwind
colors: {
  custom: {
    50: '#d9758b',
    500: '#c02f5e',
    950: '#000000',
  },
}
SCSS
$custom: #c02f5e;
$custom-light: #d9758b;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f5e",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 340.552,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54351,
    "c": 0.18267,
    "h": 6.6
  },
  "luminance": 0.14048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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