#CF48AB#CF48AB

#CF48AB is a mid, highly saturated pink. Relative luminance 0.208; OKLCH L 61.9% C 0.200 H 340.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CF48AB
RGBrgb(207, 72, 171)
HSLhsl(316, 58%, 55%)
HSVhsv(316, 65%, 81%)
CMYKcmyk(0%, 65.2%, 17.4%, 18.8%)
CIE-LABlab(52.78, 63.29, -25.46)
CIE-LCHlch(52.78, 68.22, 338.08°)
OKLaboklab(61.92% 0.188 -0.0686)
OKLCHoklch(61.92% 0.2 340)
XYZxyz(35.4010, 20.8436, 40.6790)
Luminance0.2084 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF48AB #48CF6C
analogous
#B048CF #CF48AB #CF4868
triadic
#CF48AB #ABCF48 #48ABCF
tetradic
#CF48AB #CFB048 #48CF6C #4868CF
square
#CF48AB #CFB048 #48CF6C #4868CF
split-complementary
#CF48AB #68CF48 #48CFB0
monochromatic
#7C2164 #AD2D8B #CF48AB #DC78C1 #E8A9D8

Accessibility & contrast

On white

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

On black

5.17
#CF48AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF48AB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF48AB#FFFFFF#000000##000000
##CF48AB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5070AE
Deuteranopia (green-blind)
#7986A8
Tritanopia (blue-blind)
#DB4C73
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf48ab;
/* rgb */ color: rgb(207, 72, 171);
/* oklch */ color: oklch(61.9% 0.200 340.0);
Tailwind
colors: {
  custom: {
    50: '#e184c4',
    500: '#cf48ab',
    950: '#000000',
  },
}
SCSS
$custom: #cf48ab;
$custom-light: #e184c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf48ab",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 316,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61921,
    "c": 0.20011,
    "h": 340
  },
  "luminance": 0.2084
}

Semantic roles & 50–950 ramp

primary
#CF48AB
secondary
#9DD6AC
accent
#E27046
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF48AB

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

Preview Lab → · Contrast checker → · Palette generator →

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