#C02F7E#C02F7E

#C02F7E is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.4% C 0.194 H 352.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#C02F7E
RGBrgb(192, 47, 126)
HSLhsl(327, 61%, 47%)
HSVhsv(327, 76%, 75%)
CMYKcmyk(0%, 75.5%, 34.4%, 24.7%)
CIE-LABlab(45.29, 62.56, -10.22)
CIE-LCHlch(45.29, 63.39, 350.72°)
OKLaboklab(55.39% 0.1918 -0.0264)
OKLCHoklch(55.39% 0.194 352.2)
XYZxyz(26.5222, 14.7490, 21.1848)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F7E #2FC071
analogous
#B92FC0 #C02F7E #C02F36
triadic
#C02F7E #7EC02F #2F7EC0
tetradic
#C02F7E #C0B92F #2FC071 #2F36C0
square
#C02F7E #C0B92F #2FC071 #2F36C0
split-complementary
#C02F7E #36C02F #2FC0B9
monochromatic
#5E173D #8F235E #C02F7E #D6569C #E288B9

Accessibility & contrast

On white

5.32
#C02F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#C02F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F7E
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F7E#FFFFFF#000000##FFFFFF
##C02F7E1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A80
Deuteranopia (green-blind)
#73757B
Tritanopia (blue-blind)
#CF2253
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c02f7e;
/* rgb */ color: rgb(192, 47, 126);
/* oklch */ color: oklch(55.4% 0.194 352.2);
Tailwind
colors: {
  custom: {
    50: '#d875a3',
    500: '#c02f7e',
    950: '#000000',
  },
}
SCSS
$custom: #c02f7e;
$custom-light: #d875a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f7e",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 327.31,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55394,
    "c": 0.19357,
    "h": 352.2
  },
  "luminance": 0.14746
}

Semantic roles & 50–950 ramp

primary
#C02F7E
secondary
#7FCBA2
accent
#E48D44
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #C02F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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