#CF42A3#CF42A3

#CF42A3 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.0% C 0.203 H 342.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CF42A3
RGBrgb(207, 66, 163)
HSLhsl(319, 59%, 54%)
HSVhsv(319, 68%, 81%)
CMYKcmyk(0%, 68.1%, 21.3%, 18.8%)
CIE-LABlab(51.62, 64.48, -22.55)
CIE-LCHlch(51.62, 68.31, 340.72°)
OKLaboklab(60.97% 0.1935 -0.0603)
OKLCHoklch(60.97% 0.203 342.7)
XYZxyz(34.2923, 19.8095, 36.6609)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF42A3 #42CF6E
analogous
#B442CF #CF42A3 #CF425C
triadic
#CF42A3 #A3CF42 #42A3CF
tetradic
#CF42A3 #CFB442 #42CF6E #425CCF
square
#CF42A3 #CFB442 #42CF6E #425CCF
split-complementary
#CF42A3 #5CCF42 #42CFB4
monochromatic
#781F5C #A92B82 #CF42A3 #DB73BB #E8A4D3

Accessibility & contrast

On white

4.23
#CF42A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CF42A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF42A3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF42A3#FFFFFF#000000##000000
##CF42A31.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6CA6
Deuteranopia (green-blind)
#7983A0
Tritanopia (blue-blind)
#DC436D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cf42a3;
/* rgb */ color: rgb(207, 66, 163);
/* oklch */ color: oklch(61.0% 0.203 342.7);
Tailwind
colors: {
  custom: {
    50: '#e281be',
    500: '#cf42a3',
    950: '#000000',
  },
}
SCSS
$custom: #cf42a3;
$custom-light: #e281be;
$custom-dark: #000000;
JSON
{
  "hex": "#cf42a3",
  "rgb": {
    "r": 207,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 318.723,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60967,
    "c": 0.20266,
    "h": 342.7
  },
  "luminance": 0.19806
}

Semantic roles & 50–950 ramp

primary
#CF42A3
secondary
#98D5AB
accent
#E37645
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CF42A3

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

Preview Lab → · Contrast checker → · Palette generator →

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