#CF48A5#CF48A5

#CF48A5 is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.7% C 0.196 H 342.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CF48A5
RGBrgb(207, 72, 165)
HSLhsl(319, 58%, 55%)
HSVhsv(319, 65%, 81%)
CMYKcmyk(0%, 65.2%, 20.3%, 18.8%)
CIE-LABlab(52.53, 62.45, -22.33)
CIE-LCHlch(52.53, 66.32, 340.33°)
OKLaboklab(61.66% 0.1869 -0.0598)
OKLCHoklch(61.66% 0.196 342.3)
XYZxyz(34.8420, 20.6200, 37.7351)
Luminance0.2062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF48A5 #48CF72
analogous
#B648CF #CF48A5 #CF4861
triadic
#CF48A5 #A5CF48 #48A5CF
tetradic
#CF48A5 #CFB648 #48CF72 #4861CF
square
#CF48A5 #CFB648 #48CF72 #4861CF
split-complementary
#CF48A5 #61CF48 #48CFB6
monochromatic
#7C2160 #AD2D85 #CF48A5 #DC78BD #E8A9D5

Accessibility & contrast

On white

4.10
#CF48A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CF48A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF48A5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF48A5#FFFFFF#000000##000000
##CF48A51.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#536FA8
Deuteranopia (green-blind)
#7B85A2
Tritanopia (blue-blind)
#DB4970
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf48a5;
/* rgb */ color: rgb(207, 72, 165);
/* oklch */ color: oklch(61.7% 0.196 342.3);
Tailwind
colors: {
  custom: {
    50: '#e184c0',
    500: '#cf48a5',
    950: '#000000',
  },
}
SCSS
$custom: #cf48a5;
$custom-light: #e184c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf48a5",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 318.667,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61659,
    "c": 0.19619,
    "h": 342.3
  },
  "luminance": 0.20617
}

Semantic roles & 50–950 ramp

primary
#CF48A5
secondary
#9DD6AF
accent
#E27746
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF48A5

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

Preview Lab → · Contrast checker → · Palette generator →

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