#CF538C#CF538C

#CF538C is a mid, vivid pink. Relative luminance 0.213; OKLCH L 62.0% C 0.167 H 354.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CF538C
RGBrgb(207, 83, 140)
HSLhsl(332, 56%, 57%)
HSVhsv(332, 60%, 81%)
CMYKcmyk(0%, 59.9%, 32.4%, 18.8%)
CIE-LABlab(53.33, 54.57, -6.36)
CIE-LCHlch(53.33, 54.94, 353.35°)
OKLaboklab(61.95% 0.1662 -0.0161)
OKLCHoklch(61.95% 0.167 354.5)
XYZxyz(33.5607, 21.3488, 27.1592)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF538C #53CF96
analogous
#CF53CA #CF538C #CF5853
triadic
#CF538C #8CCF53 #538CCF
tetradic
#CF538C #CACF53 #53CF96 #5853CF
square
#CF538C #CACF53 #53CF96 #5853CF
split-complementary
#CF538C #53CF58 #53CACF
monochromatic
#832550 #B3326D #CF538C #DC83AC #EAB3CC

Accessibility & contrast

On white

3.99
#CF538C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CF538C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF538C
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF538C#FFFFFF#000000##000000
##CF538C1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#66718E
Deuteranopia (green-blind)
#878889
Tritanopia (blue-blind)
#DE4B69
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf538c;
/* rgb */ color: rgb(207, 83, 140);
/* oklch */ color: oklch(62.0% 0.167 354.5);
Tailwind
colors: {
  custom: {
    50: '#e189ad',
    500: '#cf538c',
    950: '#000000',
  },
}
SCSS
$custom: #cf538c;
$custom-light: #e189ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cf538c",
  "rgb": {
    "r": 207,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 332.419,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61952,
    "c": 0.16697,
    "h": 354.5
  },
  "luminance": 0.21345
}

Semantic roles & 50–950 ramp

primary
#CF538C
secondary
#A6D8C1
accent
#E09A48
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF538C

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

Preview Lab → · Contrast checker → · Palette generator →

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