#C02F5F#C02F5F

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

Color values

HEX#C02F5F
RGBrgb(192, 47, 95)
HSLhsl(340, 61%, 47%)
HSVhsv(340, 76%, 75%)
CMYKcmyk(0%, 75.5%, 50.5%, 24.7%)
CIE-LABlab(44.33, 59.55, 7.51)
CIE-LCHlch(44.33, 60.02, 7.19°)
OKLaboklab(54.38% 0.1818 0.0196)
OKLCHoklch(54.38% 0.183 6.2)
XYZxyz(24.8225, 14.0691, 12.2328)
Luminance0.1407 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F5F #2FC090
analogous
#C02FA8 #C02F5F #C0482F
triadic
#C02F5F #5FC02F #2F5FC0
tetradic
#C02F5F #A8C02F #2FC090 #482FC0
square
#C02F5F #A8C02F #2FC090 #482FC0
split-complementary
#C02F5F #2FC048 #2FA8C0
monochromatic
#5E172E #8F2347 #C02F5F #D65681 #E288A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02F5F#FFFFFF#000000##FFFFFF
##C02F5F1.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)
#535660
Deuteranopia (green-blind)
#79735C
Tritanopia (blue-blind)
#D10743
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c02f5f;
/* rgb */ color: rgb(192, 47, 95);
/* oklch */ color: oklch(54.4% 0.183 6.2);
Tailwind
colors: {
  custom: {
    50: '#d9758c',
    500: '#c02f5f',
    950: '#000000',
  },
}
SCSS
$custom: #c02f5f;
$custom-light: #d9758c;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f5f",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 340.138,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54379,
    "c": 0.18287,
    "h": 6.2
  },
  "luminance": 0.14066
}

Semantic roles & 50–950 ramp

primary
#C02F5F
secondary
#7FCBB2
accent
#E4AF44
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C02F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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