#CF5EA2#CF5EA2

#CF5EA2 is a light, vivid pink. Relative luminance 0.239; OKLCH L 64.2% C 0.162 H 345.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CF5EA2
RGBrgb(207, 94, 162)
HSLhsl(324, 54%, 59%)
HSVhsv(324, 55%, 81%)
CMYKcmyk(0%, 54.6%, 21.7%, 18.8%)
CIE-LABlab(55.97, 52.41, -15.32)
CIE-LCHlch(55.97, 54.60, 343.70°)
OKLaboklab(64.16% 0.157 -0.0405)
OKLCHoklch(64.16% 0.162 345.5)
XYZxyz(36.2574, 23.8826, 36.8756)
Luminance0.2388 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5EA2 #5ECF8B
analogous
#C45ECF #CF5EA2 #CF5E6A
triadic
#CF5EA2 #A2CF5E #5EA2CF
tetradic
#CF5EA2 #CFC45E #5ECF8B #5E6ACF
square
#CF5EA2 #CFC45E #5ECF8B #5E6ACF
split-complementary
#CF5EA2 #6ACF5E #5ECFC4
monochromatic
#8A2963 #B93785 #CF5EA2 #DD8DBD #EBBCD8

Accessibility & contrast

On white

3.64
#CF5EA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#CF5EA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5EA2
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5EA2#FFFFFF#000000##000000
##CF5EA21.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#687AA4
Deuteranopia (green-blind)
#878D9F
Tritanopia (blue-blind)
#DB5D79
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cf5ea2;
/* rgb */ color: rgb(207, 94, 162);
/* oklch */ color: oklch(64.2% 0.162 345.5);
Tailwind
colors: {
  custom: {
    50: '#e090bd',
    500: '#cf5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5ea2;
$custom-light: #e090bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5ea2",
  "rgb": {
    "r": 207,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 323.894,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6416,
    "c": 0.16215,
    "h": 345.5
  },
  "luminance": 0.23879
}

Semantic roles & 50–950 ramp

primary
#CF5EA2
secondary
#AEDBC0
accent
#DD854A
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CF5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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