#CF4BA5#CF4BA5

#CF4BA5 is a mid, vivid pink. Relative luminance 0.210; OKLCH L 62.0% C 0.192 H 342.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#CF4BA5
RGBrgb(207, 75, 165)
HSLhsl(319, 58%, 55%)
HSVhsv(319, 64%, 81%)
CMYKcmyk(0%, 63.8%, 20.3%, 18.8%)
CIE-LABlab(52.97, 61.24, -21.65)
CIE-LCHlch(52.97, 64.96, 340.53°)
OKLaboklab(61.98% 0.1832 -0.0579)
OKLCHoklch(61.98% 0.192 342.5)
XYZxyz(35.0407, 21.0174, 37.8013)
Luminance0.2101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4BA5 #4BCF75
analogous
#B74BCF #CF4BA5 #CF4B63
triadic
#CF4BA5 #A5CF4B #4BA5CF
tetradic
#CF4BA5 #CFB74B #4BCF75 #4B63CF
square
#CF4BA5 #CFB74B #4BCF75 #4B63CF
split-complementary
#CF4BA5 #63CF4B #4BCFB7
monochromatic
#7E2261 #AE2E86 #CF4BA5 #DC7BBD #E9ACD5

Accessibility & contrast

On white

4.04
#CF4BA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#CF4BA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4BA5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4BA5#FFFFFF#000000##000000
##CF4BA51.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5671A8
Deuteranopia (green-blind)
#7D86A2
Tritanopia (blue-blind)
#DB4C71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cf4ba5;
/* rgb */ color: rgb(207, 75, 165);
/* oklch */ color: oklch(62.0% 0.192 342.5);
Tailwind
colors: {
  custom: {
    50: '#e186c0',
    500: '#cf4ba5',
    950: '#000000',
  },
}
SCSS
$custom: #cf4ba5;
$custom-light: #e186c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4ba5",
  "rgb": {
    "r": 207,
    "g": 75,
    "b": 165
  },
  "hsl": {
    "h": 319.091,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6198,
    "c": 0.19214,
    "h": 342.5
  },
  "luminance": 0.21014
}

Semantic roles & 50–950 ramp

primary
#CF4BA5
secondary
#9FD6B1
accent
#E17847
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CF4BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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