#CF30AD#CF30AD

#CF30AD is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 59.9% C 0.229 H 338.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#CF30AD
RGBrgb(207, 48, 173)
HSLhsl(313, 62%, 50%)
HSVhsv(313, 77%, 81%)
CMYKcmyk(0%, 76.8%, 16.4%, 18.8%)
CIE-LABlab(49.98, 71.70, -30.99)
CIE-LCHlch(49.98, 78.11, 336.63°)
OKLaboklab(59.92% 0.2128 -0.0841)
OKLCHoklch(59.92% 0.229 338.4)
XYZxyz(34.3327, 18.3998, 41.2704)
Luminance0.1840 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF30AD #30CF52
analogous
#A130CF #CF30AD #CF305E
triadic
#CF30AD #ADCF30 #30ADCF
tetradic
#CF30AD #CFA130 #30CF52 #305ECF
square
#CF30AD #CFA130 #30CF52 #305ECF
split-complementary
#CF30AD #5ECF30 #30CFA1
monochromatic
#6C195A #9D2483 #CF30AD #DB62C1 #E693D4

Accessibility & contrast

On white

4.49
#CF30AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#CF30AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF30AD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF30AD#FFFFFF#000000##000000
##CF30AD1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3967B0
Deuteranopia (green-blind)
#6F80A9
Tritanopia (blue-blind)
#DB396C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf30ad;
/* rgb */ color: rgb(207, 48, 173);
/* oklch */ color: oklch(59.9% 0.229 338.4);
Tailwind
colors: {
  custom: {
    50: '#e27ac6',
    500: '#cf30ad',
    950: '#000000',
  },
}
SCSS
$custom: #cf30ad;
$custom-light: #e27ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf30ad",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 173
  },
  "hsl": {
    "h": 312.83,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.59917,
    "c": 0.22879,
    "h": 338.4
  },
  "luminance": 0.18396
}

Semantic roles & 50–950 ramp

primary
#CF30AD
secondary
#8AD199
accent
#E56542
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CF30AD

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

Preview Lab → · Contrast checker → · Palette generator →

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