#CF48A8#CF48A8

#CF48A8 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.8% C 0.198 H 341.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CF48A8
RGBrgb(207, 72, 168)
HSLhsl(317, 58%, 55%)
HSVhsv(317, 65%, 81%)
CMYKcmyk(0%, 65.2%, 18.8%, 18.8%)
CIE-LABlab(52.65, 62.87, -23.90)
CIE-LCHlch(52.65, 67.26, 339.19°)
OKLaboklab(61.79% 0.1874 -0.0642)
OKLCHoklch(61.79% 0.198 341.1)
XYZxyz(35.1183, 20.7305, 39.1901)
Luminance0.2073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF48A8 #48CF6F
analogous
#B248CF #CF48A8 #CF4865
triadic
#CF48A8 #A8CF48 #48A8CF
tetradic
#CF48A8 #CFB248 #48CF6F #4865CF
square
#CF48A8 #CFB248 #48CF6F #4865CF
split-complementary
#CF48A8 #65CF48 #48CFB2
monochromatic
#7C2162 #AD2D88 #CF48A8 #DC78BF #E8A9D6

Accessibility & contrast

On white

4.08
#CF48A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CF48A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF48A8
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF48A8#FFFFFF#000000##000000
##CF48A81.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5170AB
Deuteranopia (green-blind)
#7A86A5
Tritanopia (blue-blind)
#DB4A72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf48a8;
/* rgb */ color: rgb(207, 72, 168);
/* oklch */ color: oklch(61.8% 0.198 341.1);
Tailwind
colors: {
  custom: {
    50: '#e184c2',
    500: '#cf48a8',
    950: '#000000',
  },
}
SCSS
$custom: #cf48a8;
$custom-light: #e184c2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf48a8",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 317.333,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61789,
    "c": 0.19813,
    "h": 341.1
  },
  "luminance": 0.20727
}

Semantic roles & 50–950 ramp

primary
#CF48A8
secondary
#9DD6AD
accent
#E27346
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF48A8

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

Preview Lab → · Contrast checker → · Palette generator →

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