#CF3A7E#CF3A7E

#CF3A7E is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.8% C 0.193 H 357.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CF3A7E
RGBrgb(207, 58, 126)
HSLhsl(333, 61%, 52%)
HSVhsv(333, 72%, 81%)
CMYKcmyk(0%, 72%, 39.1%, 18.8%)
CIE-LABlab(49.25, 62.95, -4.02)
CIE-LCHlch(49.25, 63.08, 356.34°)
OKLaboklab(58.79% 0.1932 -0.0098)
OKLCHoklch(58.79% 0.193 357.1)
XYZxyz(31.0132, 17.8017, 21.5375)
Luminance0.1780 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3A7E #3ACF8B
analogous
#CF3AC9 #CF3A7E #CF413A
triadic
#CF3A7E #7ECF3A #3A7ECF
tetradic
#CF3A7E #C9CF3A #3ACF8B #413ACF
square
#CF3A7E #C9CF3A #3ACF8B #413ACF
split-complementary
#CF3A7E #3ACF41 #3AC9CF
monochromatic
#731C44 #A42860 #CF3A7E #DB6B9E #E79CBE

Accessibility & contrast

On white

4.61
#CF3A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CF3A7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3A7E
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3A7E#FFFFFF#000000##FFFFFF
##CF3A7E1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586380
Deuteranopia (green-blind)
#817F7B
Tritanopia (blue-blind)
#E02857
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cf3a7e;
/* rgb */ color: rgb(207, 58, 126);
/* oklch */ color: oklch(58.8% 0.193 357.1);
Tailwind
colors: {
  custom: {
    50: '#e37ca3',
    500: '#cf3a7e',
    950: '#000000',
  },
}
SCSS
$custom: #cf3a7e;
$custom-light: #e37ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3a7e",
  "rgb": {
    "r": 207,
    "g": 58,
    "b": 126
  },
  "hsl": {
    "h": 332.617,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58795,
    "c": 0.19341,
    "h": 357.1
  },
  "luminance": 0.17798
}

Semantic roles & 50–950 ramp

primary
#CF3A7E
secondary
#92D3B5
accent
#E49B44
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CF3A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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