#CF4BA2#CF4BA2

#CF4BA2 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.9% C 0.190 H 343.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#CF4BA2
RGBrgb(207, 75, 162)
HSLhsl(320, 58%, 55%)
HSVhsv(320, 64%, 81%)
CMYKcmyk(0%, 63.8%, 21.7%, 18.8%)
CIE-LABlab(52.85, 60.83, -20.07)
CIE-LCHlch(52.85, 64.06, 341.74°)
OKLaboklab(61.85% 0.1826 -0.0535)
OKLCHoklch(61.85% 0.19 343.7)
XYZxyz(34.7709, 20.9095, 36.3801)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4BA2 #4BCF78
analogous
#BA4BCF #CF4BA2 #CF4B60
triadic
#CF4BA2 #A2CF4B #4BA2CF
tetradic
#CF4BA2 #CFBA4B #4BCF78 #4B60CF
square
#CF4BA2 #CFBA4B #4BCF78 #4B60CF
split-complementary
#CF4BA2 #60CF4B #4BCFBA
monochromatic
#7E225E #AE2E83 #CF4BA2 #DC7BBB #E9ACD4

Accessibility & contrast

On white

4.05
#CF4BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#CF4BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4BA2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4BA2#FFFFFF#000000##000000
##CF4BA21.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5770A5
Deuteranopia (green-blind)
#7E869F
Tritanopia (blue-blind)
#DC4B70
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4ba2;
/* rgb */ color: rgb(207, 75, 162);
/* oklch */ color: oklch(61.9% 0.190 343.7);
Tailwind
colors: {
  custom: {
    50: '#e185bd',
    500: '#cf4ba2',
    950: '#000000',
  },
}
SCSS
$custom: #cf4ba2;
$custom-light: #e185bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4ba2",
  "rgb": {
    "r": 207,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 320.455,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61854,
    "c": 0.19024,
    "h": 343.7
  },
  "luminance": 0.20906
}

Semantic roles & 50–950 ramp

primary
#CF4BA2
secondary
#9FD6B2
accent
#E17B47
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF4BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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