#CF48AC#CF48AC

#CF48AC is a mid, highly saturated pink. Relative luminance 0.209; OKLCH L 62.0% C 0.201 H 339.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CF48AC
RGBrgb(207, 72, 172)
HSLhsl(316, 58%, 55%)
HSVhsv(316, 65%, 81%)
CMYKcmyk(0%, 65.2%, 16.9%, 18.8%)
CIE-LABlab(52.82, 63.43, -25.98)
CIE-LCHlch(52.82, 68.55, 337.73°)
OKLaboklab(61.97% 0.1882 -0.0701)
OKLCHoklch(61.97% 0.201 339.6)
XYZxyz(35.4967, 20.8819, 41.1829)
Luminance0.2088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF48AC #48CF6B
analogous
#AF48CF #CF48AC #CF4868
triadic
#CF48AC #ACCF48 #48ACCF
tetradic
#CF48AC #CFAF48 #48CF6B #4868CF
square
#CF48AC #CFAF48 #48CF6B #4868CF
split-complementary
#CF48AC #68CF48 #48CFAF
monochromatic
#7C2164 #AD2D8C #CF48AC #DC78C2 #E8A9D8

Accessibility & contrast

On white

4.06
#CF48AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CF48AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF48AC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF48AC#FFFFFF#000000##000000
##CF48AC1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F70AF
Deuteranopia (green-blind)
#7986A9
Tritanopia (blue-blind)
#DA4C74
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf48ac;
/* rgb */ color: rgb(207, 72, 172);
/* oklch */ color: oklch(62.0% 0.201 339.6);
Tailwind
colors: {
  custom: {
    50: '#e184c5',
    500: '#cf48ac',
    950: '#000000',
  },
}
SCSS
$custom: #cf48ac;
$custom-light: #e184c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf48ac",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 315.556,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61965,
    "c": 0.20077,
    "h": 339.6
  },
  "luminance": 0.20879
}

Semantic roles & 50–950 ramp

primary
#CF48AC
secondary
#9DD6AC
accent
#E26E46
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF48AC

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

Preview Lab → · Contrast checker → · Palette generator →

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