#CF3A7B#CF3A7B

#CF3A7B is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.7% C 0.192 H 358.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CF3A7B
RGBrgb(207, 58, 123)
HSLhsl(334, 61%, 52%)
HSVhsv(334, 72%, 81%)
CMYKcmyk(0%, 72%, 40.6%, 18.8%)
CIE-LABlab(49.16, 62.65, -2.34)
CIE-LCHlch(49.16, 62.69, 357.86°)
OKLaboklab(58.7% 0.1922 -0.0054)
OKLCHoklch(58.7% 0.192 358.4)
XYZxyz(30.8225, 17.7254, 20.5333)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3A7B #3ACF8E
analogous
#CF3AC5 #CF3A7B #CF443A
triadic
#CF3A7B #7BCF3A #3A7BCF
tetradic
#CF3A7B #C5CF3A #3ACF8E #443ACF
square
#CF3A7B #C5CF3A #3ACF8E #443ACF
split-complementary
#CF3A7B #3ACF44 #3AC5CF
monochromatic
#731C42 #A4285E #CF3A7B #DB6B9C #E79CBD

Accessibility & contrast

On white

4.62
#CF3A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#CF3A7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3A7B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3A7B#FFFFFF#000000##FFFFFF
##CF3A7B1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59637D
Deuteranopia (green-blind)
#817F78
Tritanopia (blue-blind)
#E02656
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cf3a7b;
/* rgb */ color: rgb(207, 58, 123);
/* oklch */ color: oklch(58.7% 0.192 358.4);
Tailwind
colors: {
  custom: {
    50: '#e37ca1',
    500: '#cf3a7b',
    950: '#000000',
  },
}
SCSS
$custom: #cf3a7b;
$custom-light: #e37ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3a7b",
  "rgb": {
    "r": 207,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 333.826,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58696,
    "c": 0.19229,
    "h": 358.4
  },
  "luminance": 0.17722
}

Semantic roles & 50–950 ramp

primary
#CF3A7B
secondary
#92D3B7
accent
#E49E44
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CF3A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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