#C02F6B#C02F6B

#C02F6B is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.7% C 0.186 H 0.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#C02F6B
RGBrgb(192, 47, 107)
HSLhsl(335, 61%, 47%)
HSVhsv(335, 76%, 75%)
CMYKcmyk(0%, 75.5%, 44.3%, 24.7%)
CIE-LABlab(44.67, 60.61, 0.55)
CIE-LCHlch(44.67, 60.61, 0.52°)
OKLaboklab(54.73% 0.186 0.0021)
OKLCHoklch(54.73% 0.186 0.6)
XYZxyz(25.4106, 14.3044, 15.3300)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02F6B #2FC084
analogous
#C02FB4 #C02F6B #C03B2F
triadic
#C02F6B #6BC02F #2F6BC0
tetradic
#C02F6B #B4C02F #2FC084 #3B2FC0
square
#C02F6B #B4C02F #2FC084 #3B2FC0
split-complementary
#C02F6B #2FC03B #2FB4C0
monochromatic
#5E1734 #8F2350 #C02F6B #D6568B #E288AD

Accessibility & contrast

On white

5.44
#C02F6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#C02F6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02F6B
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02F6B#FFFFFF#000000##FFFFFF
##C02F6B1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586C
Deuteranopia (green-blind)
#777468
Tritanopia (blue-blind)
#D01449
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02f6b;
/* rgb */ color: rgb(192, 47, 107);
/* oklch */ color: oklch(54.7% 0.186 0.6);
Tailwind
colors: {
  custom: {
    50: '#d97595',
    500: '#c02f6b',
    950: '#000000',
  },
}
SCSS
$custom: #c02f6b;
$custom-light: #d97595;
$custom-dark: #000000;
JSON
{
  "hex": "#c02f6b",
  "rgb": {
    "r": 192,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 335.172,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54734,
    "c": 0.18605,
    "h": 0.6
  },
  "luminance": 0.14301
}

Semantic roles & 50–950 ramp

primary
#C02F6B
secondary
#7FCBAC
accent
#E4A244
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C02F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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