#CF48A2#CF48A2

#CF48A2 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.5% C 0.194 H 343.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CF48A2
RGBrgb(207, 72, 162)
HSLhsl(320, 58%, 55%)
HSVhsv(320, 65%, 81%)
CMYKcmyk(0%, 65.2%, 21.7%, 18.8%)
CIE-LABlab(52.41, 62.04, -20.75)
CIE-LCHlch(52.41, 65.42, 341.51°)
OKLaboklab(61.53% 0.1863 -0.0554)
OKLCHoklch(61.53% 0.194 343.4)
XYZxyz(34.5722, 20.5121, 36.3139)
Luminance0.2051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF48A2 #48CF75
analogous
#B948CF #CF48A2 #CF485F
triadic
#CF48A2 #A2CF48 #48A2CF
tetradic
#CF48A2 #CFB948 #48CF75 #485FCF
square
#CF48A2 #CFB948 #48CF75 #485FCF
split-complementary
#CF48A2 #5FCF48 #48CFB9
monochromatic
#7C215E #AD2D82 #CF48A2 #DC78BB #E8A9D3

Accessibility & contrast

On white

4.12
#CF48A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CF48A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF48A2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF48A2#FFFFFF#000000##000000
##CF48A21.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#546FA5
Deuteranopia (green-blind)
#7C859F
Tritanopia (blue-blind)
#DC486F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf48a2;
/* rgb */ color: rgb(207, 72, 162);
/* oklch */ color: oklch(61.5% 0.194 343.4);
Tailwind
colors: {
  custom: {
    50: '#e184bd',
    500: '#cf48a2',
    950: '#000000',
  },
}
SCSS
$custom: #cf48a2;
$custom-light: #e184bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf48a2",
  "rgb": {
    "r": 207,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 320,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61532,
    "c": 0.1943,
    "h": 343.4
  },
  "luminance": 0.20509
}

Semantic roles & 50–950 ramp

primary
#CF48A2
secondary
#9DD6B0
accent
#E27A46
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF48A2

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

Preview Lab → · Contrast checker → · Palette generator →

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