#CF48A7#CF48A7

#CF48A7 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.7% C 0.197 H 341.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CF48A7
RGBrgb(207, 72, 167)
HSLhsl(318, 58%, 55%)
HSVhsv(318, 65%, 81%)
CMYKcmyk(0%, 65.2%, 19.3%, 18.8%)
CIE-LABlab(52.61, 62.73, -23.38)
CIE-LCHlch(52.61, 66.94, 339.56°)
OKLaboklab(61.75% 0.1873 -0.0627)
OKLCHoklch(61.75% 0.197 341.5)
XYZxyz(35.0255, 20.6934, 38.7013)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF48A7 #48CF70
analogous
#B448CF #CF48A7 #CF4863
triadic
#CF48A7 #A7CF48 #48A7CF
tetradic
#CF48A7 #CFB448 #48CF70 #4863CF
square
#CF48A7 #CFB448 #48CF70 #4863CF
split-complementary
#CF48A7 #63CF48 #48CFB4
monochromatic
#7C2161 #AD2D87 #CF48A7 #DC78BE #E8A9D6

Accessibility & contrast

On white

4.09
#CF48A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CF48A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF48A7
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF48A7#FFFFFF#000000##000000
##CF48A71.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5270AA
Deuteranopia (green-blind)
#7B86A4
Tritanopia (blue-blind)
#DB4A71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf48a7;
/* rgb */ color: rgb(207, 72, 167);
/* oklch */ color: oklch(61.7% 0.197 341.5);
Tailwind
colors: {
  custom: {
    50: '#e184c1',
    500: '#cf48a7',
    950: '#000000',
  },
}
SCSS
$custom: #cf48a7;
$custom-light: #e184c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf48a7",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 167
  },
  "hsl": {
    "h": 317.778,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61745,
    "c": 0.19747,
    "h": 341.5
  },
  "luminance": 0.2069
}

Semantic roles & 50–950 ramp

primary
#CF48A7
secondary
#9DD6AE
accent
#E27446
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF48A7

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

Preview Lab → · Contrast checker → · Palette generator →

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