#C02F6E#C02F6E

#C02F6E is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.8% C 0.187 H 359.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C02F6E
RGBrgb(192, 47, 110)
HSLhsl(334, 61%, 47%)
HSVhsv(334, 76%, 75%)
CMYKcmyk(0%, 75.5%, 42.7%, 24.7%)
CIE-LABlab(44.76, 60.90, -1.17)
CIE-LCHlch(44.76, 60.91, 358.90°)
OKLaboklab(54.83% 0.187 -0.0023)
OKLCHoklch(54.83% 0.187 359.3)
XYZxyz(25.5711, 14.3686, 16.1757)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F6E #2FC081
analogous
#C02FB7 #C02F6E #C0392F
triadic
#C02F6E #6EC02F #2F6EC0
tetradic
#C02F6E #B7C02F #2FC081 #392FC0
square
#C02F6E #B7C02F #2FC081 #392FC0
split-complementary
#C02F6E #2FC039 #2FB7C0
monochromatic
#5E1736 #8F2352 #C02F6E #D6568E #E288AF

Accessibility & contrast

On white

5.42
#C02F6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#C02F6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F6E
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F6E#FFFFFF#000000##FFFFFF
##C02F6E1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5870
Deuteranopia (green-blind)
#76746B
Tritanopia (blue-blind)
#D0164B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02f6e;
/* rgb */ color: rgb(192, 47, 110);
/* oklch */ color: oklch(54.8% 0.187 359.3);
Tailwind
colors: {
  custom: {
    50: '#d87597',
    500: '#c02f6e',
    950: '#000000',
  },
}
SCSS
$custom: #c02f6e;
$custom-light: #d87597;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f6e",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 333.931,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5483,
    "c": 0.18704,
    "h": 359.3
  },
  "luminance": 0.14365
}

Semantic roles & 50–950 ramp

primary
#C02F6E
secondary
#7FCBAA
accent
#E49E44
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C02F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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