#CF5FA2#CF5FA2

#CF5FA2 is a light, vivid pink. Relative luminance 0.241; OKLCH L 64.3% C 0.161 H 345.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CF5FA2
RGBrgb(207, 95, 162)
HSLhsl(324, 54%, 59%)
HSVhsv(324, 54%, 81%)
CMYKcmyk(0%, 54.1%, 21.7%, 18.8%)
CIE-LABlab(56.15, 51.93, -15.05)
CIE-LCHlch(56.15, 54.07, 343.84°)
OKLaboklab(64.29% 0.1556 -0.0398)
OKLCHoklch(64.29% 0.161 345.7)
XYZxyz(36.3469, 24.0615, 36.9055)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5FA2 #5FCF8C
analogous
#C45FCF #CF5FA2 #CF5F6A
triadic
#CF5FA2 #A2CF5F #5FA2CF
tetradic
#CF5FA2 #CFC45F #5FCF8C #5F6ACF
square
#CF5FA2 #CFC45F #5FCF8C #5F6ACF
split-complementary
#CF5FA2 #6ACF5F #5FCFC4
monochromatic
#8A2963 #B93885 #CF5FA2 #DD8EBD #EBBDD9

Accessibility & contrast

On white

3.61
#CF5FA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CF5FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5FA2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5FA2#FFFFFF#000000##000000
##CF5FA21.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#697BA4
Deuteranopia (green-blind)
#888E9F
Tritanopia (blue-blind)
#DB5E79
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cf5fa2;
/* rgb */ color: rgb(207, 95, 162);
/* oklch */ color: oklch(64.3% 0.161 345.7);
Tailwind
colors: {
  custom: {
    50: '#e091bd',
    500: '#cf5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #cf5fa2;
$custom-light: #e091bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5fa2",
  "rgb": {
    "r": 207,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 324.107,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64293,
    "c": 0.16058,
    "h": 345.7
  },
  "luminance": 0.24058
}

Semantic roles & 50–950 ramp

primary
#CF5FA2
secondary
#AFDBC1
accent
#DD854B
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D12
muted
#847E81

Preview Lab

Preview with #CF5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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