#CF48B2#CF48B2

#CF48B2 is a light, highly saturated pink. Relative luminance 0.211; OKLCH L 62.2% C 0.205 H 337.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CF48B2
RGBrgb(207, 72, 178)
HSLhsl(313, 58%, 55%)
HSVhsv(313, 65%, 81%)
CMYKcmyk(0%, 65.2%, 14%, 18.8%)
CIE-LABlab(53.08, 64.30, -29.08)
CIE-LCHlch(53.08, 70.57, 335.66°)
OKLaboklab(62.24% 0.1891 -0.0788)
OKLCHoklch(62.24% 0.205 337.4)
XYZxyz(36.0860, 21.1176, 44.2864)
Luminance0.2111 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF48B2 #48CF65
analogous
#A948CF #CF48B2 #CF486E
triadic
#CF48B2 #B2CF48 #48B2CF
tetradic
#CF48B2 #CFA948 #48CF65 #486ECF
square
#CF48B2 #CFA948 #48CF65 #486ECF
split-complementary
#CF48B2 #6ECF48 #48CFA9
monochromatic
#7C2168 #AD2D91 #CF48B2 #DC78C6 #E8A9DB

Accessibility & contrast

On white

4.02
#CF48B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CF48B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF48B2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF48B2#FFFFFF#000000##000000
##CF48B21.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B5
Deuteranopia (green-blind)
#7786AF
Tritanopia (blue-blind)
#DA4E77
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf48b2;
/* rgb */ color: rgb(207, 72, 178);
/* oklch */ color: oklch(62.2% 0.205 337.4);
Tailwind
colors: {
  custom: {
    50: '#e184c9',
    500: '#cf48b2',
    950: '#000000',
  },
}
SCSS
$custom: #cf48b2;
$custom-light: #e184c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf48b2",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 312.889,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62238,
    "c": 0.2049,
    "h": 337.4
  },
  "luminance": 0.21114
}

Semantic roles & 50–950 ramp

primary
#CF48B2
secondary
#9DD6A9
accent
#E26846
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CF48B2

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

Preview Lab → · Contrast checker → · Palette generator →

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