#CF30AF#CF30AF

#CF30AF is a mid, highly saturated pink. Relative luminance 0.185; OKLCH L 60.0% C 0.230 H 337.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#CF30AF
RGBrgb(207, 48, 175)
HSLhsl(312, 62%, 50%)
HSVhsv(312, 77%, 81%)
CMYKcmyk(0%, 76.8%, 15.5%, 18.8%)
CIE-LABlab(50.07, 71.98, -32.02)
CIE-LCHlch(50.07, 78.78, 336.02°)
OKLaboklab(60.01% 0.213 -0.087)
OKLCHoklch(60.01% 0.23 337.8)
XYZxyz(34.5277, 18.4778, 42.2973)
Luminance0.1847 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF30AF #30CF50
analogous
#9F30CF #CF30AF #CF3060
triadic
#CF30AF #AFCF30 #30AFCF
tetradic
#CF30AF #CF9F30 #30CF50 #3060CF
square
#CF30AF #CF9F30 #30CF50 #3060CF
split-complementary
#CF30AF #60CF30 #30CF9F
monochromatic
#6C195B #9D2485 #CF30AF #DB62C2 #E693D5

Accessibility & contrast

On white

4.47
#CF30AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#CF30AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF30AF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF30AF#FFFFFF#000000##000000
##CF30AF1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3768B2
Deuteranopia (green-blind)
#6E80AB
Tritanopia (blue-blind)
#DA3A6D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #cf30af;
/* rgb */ color: rgb(207, 48, 175);
/* oklch */ color: oklch(60.0% 0.230 337.8);
Tailwind
colors: {
  custom: {
    50: '#e27ac7',
    500: '#cf30af',
    950: '#000000',
  },
}
SCSS
$custom: #cf30af;
$custom-light: #e27ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf30af",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 312.075,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.60015,
    "c": 0.23007,
    "h": 337.8
  },
  "luminance": 0.18474
}

Semantic roles & 50–950 ramp

primary
#CF30AF
secondary
#8AD198
accent
#E56342
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CF30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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